opentelemetry-collector-contrib icon indicating copy to clipboard operation
opentelemetry-collector-contrib copied to clipboard

[receiver/dockerstats] Fix mistake where config has wrong key (V2 featuregate only)

Open jamesmoessis opened this issue 3 years ago • 1 comments
trafficstars

Description:

The key in the config was "stats" but it should be "metrics" so it's consistent with documentation.md and other similar scrapers.

Link to tracking Issue: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/9794

Testing:

I've updated the test so it validates the metrics key (this probably should've already been there).

jamesmoessis avatar Sep 19 '22 03:09 jamesmoessis

FYI @MovieStoreGuy @rmfitzpatrick

jamesmoessis avatar Sep 20 '22 01:09 jamesmoessis