Commit Graph

5 Commits

Author SHA1 Message Date
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