Commit Graph

33 Commits

Author SHA1 Message Date
dependabot[bot] 094f1527d5
Bump github.com/prometheus/common from 0.51.1 to 0.52.2 (#3010)
* Bump github.com/prometheus/common from 0.51.1 to 0.52.2

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.51.1 to 0.52.2.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.51.1...v0.52.2)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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-04-08 13:14:17 +00:00
dependabot[bot] d484aa5d77
Bump github.com/prometheus/common from 0.50.0 to 0.51.1 (#2995)
* Bump github.com/prometheus/common from 0.50.0 to 0.51.1

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.50.0 to 0.51.1.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.50.0...v0.51.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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-03-25 10:27:30 +00:00
dependabot[bot] 2c15a6fd07
Bump github.com/prometheus/common from 0.49.0 to 0.50.0 (#2986)
* Bump github.com/prometheus/common from 0.49.0 to 0.50.0

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.49.0 to 0.50.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.49.0...v0.50.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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-03-11 20:49:31 +00:00
dependabot[bot] 6b13f01ae5
Bump github.com/prometheus/common from 0.48.0 to 0.49.0 (#2980)
* Bump github.com/prometheus/common from 0.48.0 to 0.49.0

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.48.0 to 0.49.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.48.0...v0.49.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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-03-05 14:49:23 +00:00
dependabot[bot] 32e13c4925
Bump github.com/prometheus/common from 0.47.0 to 0.48.0 (#2975)
* Bump github.com/prometheus/common from 0.47.0 to 0.48.0

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.47.0 to 0.48.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.47.0...v0.48.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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-26 07:20:14 +00:00
dependabot[bot] d97860832c
Bump github.com/prometheus/common from 0.46.0 to 0.47.0 (#2962)
* Bump github.com/prometheus/common from 0.46.0 to 0.47.0

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.46.0 to 0.47.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.46.0...v0.47.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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-19 07:07:27 +00:00
dependabot[bot] 347a4b5e6d
Bump github.com/prometheus/common from 0.45.0 to 0.46.0 (#2937)
* Bump github.com/prometheus/common from 0.45.0 to 0.46.0

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.45.0 to 0.46.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.45.0...v0.46.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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-01-15 08:19:26 +00:00
dependabot[bot] dfa0a2c9e8
Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 (#2924)
* Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  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-01-03 07:11:02 +00:00
dependabot[bot] 8b8bb657c9
Bump github.com/prometheus/common from 0.44.0 to 0.45.0 (#2874)
* Bump github.com/prometheus/common from 0.44.0 to 0.45.0

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.44.0 to 0.45.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.44.0...v0.45.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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 14:19:48 +00:00
dependabot[bot] c9c48d7059
Bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0 (#2846)
* Bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  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-02 06:41:26 +00:00
dependabot[bot] 42a4ec1428
Bump contrib.go.opencensus.io/exporter/prometheus from 0.4.0 to 0.4.2 (#2793)
* Bump contrib.go.opencensus.io/exporter/prometheus from 0.4.0 to 0.4.2

Bumps [contrib.go.opencensus.io/exporter/prometheus](https://github.com/census-ecosystem/opencensus-go-exporter-prometheus) from 0.4.0 to 0.4.2.
- [Release notes](https://github.com/census-ecosystem/opencensus-go-exporter-prometheus/releases)
- [Commits](https://github.com/census-ecosystem/opencensus-go-exporter-prometheus/compare/v0.4.0...v0.4.2)

---
updated-dependencies:
- dependency-name: contrib.go.opencensus.io/exporter/prometheus
  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>
2023-08-14 09:27:43 +00:00
dependabot[bot] 1ea9b2d5c1
Bump github.com/tsenart/vegeta/v12 from 12.8.4 to 12.11.0 (#2772)
* Bump github.com/tsenart/vegeta/v12 from 12.8.4 to 12.11.0

Bumps [github.com/tsenart/vegeta/v12](https://github.com/tsenart/vegeta) from 12.8.4 to 12.11.0.
- [Release notes](https://github.com/tsenart/vegeta/releases)
- [Changelog](https://github.com/tsenart/vegeta/blob/master/CHANGELOG)
- [Commits](https://github.com/tsenart/vegeta/compare/v12.8.4...v12.11.0)

---
updated-dependencies:
- dependency-name: github.com/tsenart/vegeta/v12
  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-08-02 00:16:47 +00:00
pradnyavmw 05bfcf66c2
bump k8s dependencies and update min version to v1.25 (#2745)
* Update defaultMinimumVersion

* Fix issues that occurred after running update-k8s-deps

* Adding changes to vendor and other folders

* Add new files after running update-codegen

* Add newLine
2023-05-23 14:06:11 +00:00
Jonathan Innis 20aabd56be
Bump to k8s v0.24.4 client packages (#2586) 2022-09-09 15:07:30 +00:00
Enrique Encalada 721abec0a3
Bump prometheus/client_golang to v1.11.1 (#2450)
In order to address CVE [CVE-2022-21698](https://github.com/advisories/GHSA-cg3q-j54f-5p7p)
2022-03-14 10:07:18 -07:00
Chris Suszynski d7b329c360
🐛 Update required Go version to 1.17 to fix #2399 (#2400)
* Update required Go version to fix #2399

* Running `hack/update-deps.sh`
2022-01-26 13:42:46 -08:00
Markus Thömmes 12d915ede2
Update prometheus dep to 0.30.0 (#2227) 2021-08-23 06:36:35 -07:00
Markus Thömmes 00fa1549f7
Bump a few assorted libs (#2153) 2021-06-10 01:36:43 -07:00
Markus Thömmes ea766de6bd
Bump assorted dependencies (#2130) 2021-05-25 07:27:38 -07:00
Markus Thömmes 554d133a0d
Bump assorted dependencies (#2096) 2021-04-19 09:00:01 -07:00
Markus Thömmes 9050838f89
Bump assorted dependencies (#2086) 2021-04-07 09:09:49 -07:00
Markus Thömmes 6a33a1ab29
Upgrade a few assorted dependencies (#2058) 2021-03-15 09:01:01 -07:00
Markus Thömmes a02dcff9ee
Bump a few assorted dependencies to their latest versions (#2013)
* Bump a few assorted dependencies to their latest versions

* Use new uuid helper

* Some more slight adjustments
2021-02-08 09:52:52 -08:00
Markus Thömmes 909c152426
Update dependencies to their latest versions (#1958)
* Update dependencies to their latest versions

* update-deps.sh
2020-12-14 06:46:44 -08:00
Markus Thömmes 6a24d54694
Update assorted dependencies to their latest releases (#1869) 2020-10-28 10:16:34 -07:00
Markus Thömmes 8010071179
Remove unnecessary override for dependencies (#1816) 2020-10-19 02:39:58 -07:00
Evan Anderson e7bd895fbd
Introduce `pkg/metrics` support for multiple Resources (#1392)
* Update OpenCensus to include #1196.

* Extend OpenCensus to track per-Resource stats.

* Add generic ResourceView mechanics, part 1. TODO: wire newFactory, tests

* Move factory creation to where it can be customized per-backend

* Integrate opencensus export with Resource-based exporters

* Add stackdriver support for resource views

* address feedbacks

* add test cases

* make KnativeRevision a map

* Update go modules to point to latest opencensus which includes `view.Meter`.

* Add support for Resources to Prometheus Exporter.

This involved copying/improving much of the contrib prometheus exporter.

* add resource_view tests and fix minor issues

* add recorder tests for meter

* Update resource_view_test with an e2e export test.

* Fix prometheus e2e resource_view_test.

Found a fun circular lock.

Found a fun double-registration in metricproducer/Meter.

Found some unnecessary extra code.

Fixed prometheus string sanitization.

Removed a layer of Prometheus wrapping which made debugging more challenging.

* Add test for standard view exports and non-resourced views to e2e test.

* Add UnregisterResourceView to fix tests

* Add OpenCensus e2e resource export test.

Still a little flaky, so work around that with "<=".

* Fix tests for OpenCensus export.

* Fix flakiness / timing issues in OpenCensus exporter e2e test.

* Update to latest ocagent to fix `Resources` bug.

* Don't swallow errors from stackdriver init.

* Get Stackdriver export mostly working in e2e tests

Tests still fail because stackdriver converts custom metrics to a namespaced format and seems to lose Resource information.

* Add support for Stackdriver resource export.

* ./hack/update-codegen.sh

* Fix data race with graceful shutdown.

* Fix issues noticed by @vagababov

* Address mattmoor-bot comments.

* Remove MonitoredResource and apply suggestions from yanweiguo

* More cleanup to stackdriver_exporter_test.go

* Update tests (particularly config_test.go) for Stackdriver recorder changes which sometimes record with additional resources.

* Avoid setting two `view.WithRecorder` options on record

* Add stackdriver tests

* Address comments

* Switch Prometheus port due to possible conflict in test env

* Fix missing :=

* FIx data races around *view.Data shared across Meters.

Cleanup resource_view_test.

* Remove unneeded monitored_resources.go

* Use sync.WaitGroup to avoid data races on closing channel.

* Sort the map for ResourceAsString

* Apply lint and vagababov changes.

* Fix typos

* refactor ResourceAsString

* Update stackdriver exporter version

* Update metrics/resource_view_test.go

Remove accidental paste

* Fix go.sum

* Address yanweiguo comments on comments

* Fix autogen/go mod

* Handling resource extraction when custom metrics are allowed

* Add tests for AllowCustomMetrics set to true

* Address vagababov and yanweiguo comments.

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* address comments

* Renaming

* Reduce some condition nesting

* go fmt

* Sleep for 1ms to allow metrics being sent (#9)

* Address yanweiguo comments

Co-authored-by: JJ Zeng <jjzeng@google.com>
Co-authored-by: jjzeng-seattle <56568376+jjzeng-seattle@users.noreply.github.com>
2020-07-14 10:46:19 -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
Chi Zhang bf5252e748 revert prometheus version (#641) 2019-09-07 09:06:04 -07:00
Chi Zhang 4749553105 Move prometheus, github, slack code from test-infra to pkg (#601)
* move prometheus code from test-infra to pkg

* also move ghutil and slackutil
2019-09-03 13:48:02 -07:00
Victor Agababov d5915547d9 Update opencensus to a newer version (#526) 2019-07-12 16:18:48 -07:00
Vincent Demeester fcefd95368 Bump "safe" dependencies (#200)
* cloud.google.com/go: v0.30.0 -> v0.34.0

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>

* contrib.go.opencensus.io/exporter/stackdriver: v0.6.0 -> v0.8.0

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>

* github.com/aws/aws-sdk-go: v1.15.52 -> v1.16.11

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>

* github.com/gobuffalo/envy: v1.6.5 -> v1.6.11

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>

* github.com/googleapis/gax-go: v2.0.0 -> v2.0.3

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>

* github.com/markbates/inflect: v1.0.3 -> v1.0.4

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>

* github.com/prometheus/client_golang: v0.8.0 -> v0.9.2

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>

* github.com/spf13/pflag: v1.0.2 -> v1.0.3

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>

* go.opencensus.io: v0.14.0 -> v0.18.0

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>

* google.golang.org/appengine: v1.2.0 -> v1.4.0

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>

* google.golang.org/grpc: v1.15.0 -> v1.17.0

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>

* gopkg.in/inf.v0: v0.9.0 -> v0.9.1

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>

* gopkg.in/yaml.v2: v2.2.1 -> v2.2.2

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2019-01-04 12:47:40 -08: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