Commit Graph

7 Commits

Author SHA1 Message Date
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
Kandarp Thakar b5bf07b2ba
adding retry event count metric for source (#2016)
* adding retry event count metric for source

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

fixing boiler plate and format

* updates in format

* updates in format

* fixing minor errors

* Merge branch 'master' of https://github.com/knative/pkg

* fixing comment based on comment

* Update source/source_stats_reporter.go

Co-authored-by: Julian Friedman <julz.friedman@uk.ibm.com>

* adding changes based on comments

Co-authored-by: Julian Friedman <julz.friedman@uk.ibm.com>
2021-02-24 11:44:47 -08:00
Victor Agababov a371418524
v2 (#1754) 2020-09-29 13:18:29 -07:00
Yanwei Guo 19b1d7b64d
Add a helper func to set a default metric config for unit tests (#1263)
* do not record for empty metric config

* Revert "do not record for empty metric config"

This reverts commit 539a5e4dbb.

* add a comment

* fix typo

* fix tests

* revert

* revert tests

* revert

* fix conflicts

* one more test file
2020-05-07 21:11:45 -07:00
Ignacio Cano 1633d4dded renaming source_name and source_resource_group to name and resource_group, (#675)
as they will be used in other resources
2019-09-13 14:03:35 -07:00
Ignacio Cano 1bea34570b SourceStatsReporter UT fix (#667)
* source stats reporter... should be used by well-behaved sources

* public fields

* moving serialization/deserialization of metrics and logging maps to pkg

* nits

* adding UT

* same order

* updates

* sock-puppet

* unregistration problem?

* removing base64 encoding

* removing TODO

* removing config changes... done in another PR

* to properly address the comment

* changing importer to source

* moving stats_reporter to new source folder

* fixing UT
2019-09-13 09:40:34 -07:00
Ignacio Cano 7f77962556 Moving Source StatsReporter to its own package (#664)
* source stats reporter... should be used by well-behaved sources

* public fields

* moving serialization/deserialization of metrics and logging maps to pkg

* nits

* adding UT

* same order

* updates

* sock-puppet

* unregistration problem?

* removing base64 encoding

* removing TODO

* removing config changes... done in another PR

* to properly address the comment

* changing importer to source

* moving stats_reporter to new source folder
2019-09-11 13:42:31 -07:00