Commit Graph

22 Commits

Author SHA1 Message Date
Dave Protasowski 4e27b2e680
bump min k8s version to 1.32 (#3184)
* bump version strings

* bump go.mod

* run ./hack/update-deps.sh

* run ./hack/update-codegen.sh

* fix build

* fix fuzzing lib change

* switch fuzzers to use randfill

* run ./hack/update-deps.sh

* gofumpt file

* fix webhook build on go1.24

* ignore endpoint deprecation

* disable a staticcheck that isn't really that bad

* fix nolint directives

* don't use deprecated List and WatchFuncs

* fix deprecation of gengo.ExtractCommentTags

* apply demorgan's law where it makes sense
2025-06-10 21:07:45 +00:00
Dave Protasowski ae2c6bcc1f
Bump K8s min version to v1.31 (#3149)
* bump k8s deps to v0.32.1

* bump k8s min version to v1.31

* bump to v0.32.2
2025-02-14 14:05:53 +00:00
Dave Protasowski cd0e61e68c
drop mako (#3060)
* drop mako

* run update-deps script

* drop mako third_party

* drop utils only used in mako alerters
2024-06-20 17:35:54 +00:00
dependabot[bot] 4e6f7e490b
Bump github.com/golang/protobuf from 1.5.3 to 1.5.4 (#2993)
* Bump github.com/golang/protobuf from 1.5.3 to 1.5.4

Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.5.3...v1.5.4)

---
updated-dependencies:
- dependency-name: github.com/golang/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Run ./hack/update-codegen.sh

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-18 07:20:57 +00:00
dependabot[bot] 97fb318ab9
Bump google.golang.org/grpc from 1.61.1 to 1.62.0 (#2974)
* Bump google.golang.org/grpc from 1.61.1 to 1.62.0

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Run ./hack/update-codegen.sh

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-27 02:17:06 +00:00
dependabot[bot] b7a62c0b70
Bump google.golang.org/grpc from 1.58.3 to 1.59.0 (#2873)
* Bump google.golang.org/grpc from 1.58.3 to 1.59.0

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.3 to 1.59.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.3...v1.59.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Run ./hack/update-codegen.sh

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-23 15:24:43 +00:00
Kenny Leung 49e2e56a0e
update google cloud deps (#2758)
Signed-off-by: Kenny Leung <kleung@chainguard.dev>
2023-07-07 19:00:35 +00:00
Dave Protasowski 7f16595277
bump k8s deps to v0.23.4 (#2458) 2022-03-18 06:34:18 -07:00
Markus Thömmes 464034912f
Bump assorted dependencies (#2340) 2021-11-03 06:56:47 -07:00
Markus Thömmes 07ea512d3b
Update very old Google API dependencies (#2294) 2021-09-24 08:21:23 -07:00
Dave Protasowski aff7376aba
drop stackdriver metrics and tracing exporters (#2183)
* drop stack driver as a tracing backend

* drop stackdriver as a metrics backend

* update deps - dropping stackdriver

* fix linting issues

* drop further references to stack driver

* drop serving & eventing metric key constants
these have been moved to their respective repos
see: https://github.com/knative/pkg/issues/608

* move source metrickeys to pkg/source

We're going to move the StatsReporter downstream eventually

related:
https://github.com/knative/eventing/pull/5587
https://github.com/knative/eventing/pull/5586

* fix linter
2021-07-14 11:45:31 -07:00
Markus Thömmes 9050838f89
Bump assorted dependencies (#2086) 2021-04-07 09:09:49 -07:00
Markus Thömmes 6a24d54694
Update assorted dependencies to their latest releases (#1869) 2020-10-28 10:16:34 -07:00
Evan Anderson 8c2ebdb0e0
Speed up & deflake tests by disabling bundling (#1689)
* Speed up & deflake tests by disabling bundling

* Fix `go vet` and races detected

* Address @vagababov comments, add nil check
2020-09-18 16:34:45 -07:00
Nghia Tran 0a8314b444
Back to tracking master branch of floating deps (#1468) 2020-07-07 12:03:44 -07:00
Chi Zhang 90fc61bae7
Switch to Go modules (#1179)
* test out go modules

* chmod +x *.sh

* revert some changes

* update-deps

* try fixing

* chmod +x

* update

* update test-infra for testing

* test

* test

* update

* no -mod=vendor

* update
2020-04-28 12:43:51 -07:00
Evan Anderson 8c11c24324 Add support for OpenCensus Agent as a destination for Knative metrics. (#978)
* Add support for OpenCensus Agent as a destination for Knative metrics.

* Update with comments from @mattmoor and @anniefu

* Remember to register exporter.

Fix tests.

* Fix naming per discussion with @anniefu
2020-01-10 18:42:58 -08:00
Grant Rodgers 886b8ff2cf Add a Mako stub sidecar (#609)
* Add a Mako stub sidecar

The stub sidecar replaces the Mako sidecar for contributors that can't
access the Mako service. It emits recorded data as CSV to stdout.

The first line is a comment containing a JSON dump of BenchmarkInfo.
The last line is a comment containing the column names.

Each line in between is a CSV row. The first two columns are always
inputValue and errorMessage, then one column per metric value.

Run Aggregate data points have an empty inputValue.

Example:

    # {"benchmarkKey":"5903682180743168","tags":["runOwner=grantrodgers","project-id=grantrodgers-crd","commit=5102ef7","kubernetes=v1_13_6-gke_13","go1_12_5"]}
    1566927060345.571777,,0.039124
    1566927060346.181152,,0.046175
    1566926807393.443115,,,16.525982
    ,,,,0.000000
    ,,,,,7.000000
    1566926807388.952393,Timeout waiting for delivery,,,,
    # inputValue,errorMessage,pl,dl,pe,de

The proto files are copied from google/mako because they're in an
"internal" path and those can't be imported.

* Add Mako copyright header to proto generated code

* Move proto code copied from Mako to third_party
2019-08-28 19:06:44 -07:00
Victor Agababov d5915547d9 Update opencensus to a newer version (#526) 2019-07-12 16:18:48 -07:00
Scott Nichols 418e675f88 Moving reconcile/testing from serving to pkg. (#387)
* Moving reconcile/testing from serving to pkg.

* add clock.

* Update clock cw.

* move testing/configmap.go to configmap/

* wire in a setable context.

* need to export example key.
2019-04-17 08:19:28 -07:00
akyyy 10ceeb6163 Add stackdriver exporter support in pkg. (#126)
* update dep golang.org/x/net

* Add stackdriver exporter support in pkg

* fix race and tests

* Use thread safe newMetricsExporter in tests

* address cr comments

* minor fix

* checkpoint

* Address cr comments

* add test for UpdateExporterFromConfigMap

* Move lock position

* add a test case for stackdriver error check

* minor change

* removing one test case since it seems app default creds exists for presubmit tests

* replace promSrvChan with promSrv as cr suggsted

* use a local var server for ListenAndServe

* add getter and setter for shared variables

* add func isMetricsConfigChanged and test

* address cr comments

* Update opencensus-go-exporter-stackdriver to v0.7.0

* Revert "Update opencensus-go-exporter-stackdriver to v0.7.0"

This reverts commit 9825f641f8.

* run update-deps.sh

* merge conflict

* run update-deps.sh

* Update Gopkg.toml so it doesn't have stackdriver exporter

* remove regex for metrics domain at pkg repo per cr comments

* merge conflict
2018-10-24 15:23:31 -07:00
Matt Moore f8e84c0d02
Copy `pkg/configmap` over from `knative/serving`. (#11) 2018-07-25 14:56:29 -07:00