Commit Graph

5 Commits

Author SHA1 Message Date
cedric lamoriniere ae822f3a2c update code after review
* fix typo
* update copyright date in new files

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2019-12-17 22:37:23 +01:00
cedric lamoriniere c83e410d37 tmp: add back interface for perf 2019-12-13 10:50:19 +01:00
cedric lamoriniere 72ad3cb412 Remove FamilyByteSlicer interface
- To allow other external Stores, remove the `FamilyByteSlicer` interface
  and give access directly to `metric.Family`.
- Move functions present in `pkg/metric/generator.go` to a dedicated package
  `generator` in `pkg/metric_generator/generator.go`.

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2019-12-13 10:50:19 +01:00
Lili Cosic aba4af8fb8 internal/store/testutils.go: Enable headers
Currently the metric headers were not being tested, this enables the
testing.
2019-07-26 13:30:22 +02:00
Lili Cosic 68aea02d26 Makefile,internal/collector: Rename collector -> store
Since the removal of collector, this introduces both the concept of the
store and the resources instead of collectors that the user passes in.

The user facing logs and flags were not changed as that would be a
regression.
2019-06-11 16:18:53 +02:00