Skip to content

[receiver/dockerstats] Featuregate for new mdatagen implementation + semantic convention alignment#12743

Merged
dmitryax merged 9 commits into
open-telemetry:mainfrom
atlassian-forks:dockerstats-featuregate-new-impl
Aug 1, 2022
Merged

[receiver/dockerstats] Featuregate for new mdatagen implementation + semantic convention alignment#12743
dmitryax merged 9 commits into
open-telemetry:mainfrom
atlassian-forks:dockerstats-featuregate-new-impl

Conversation

@jamesmoessis

Copy link
Copy Markdown
Contributor

Description:
This PR:

  1. Allows using the new implementation of scrape (scrapeV2) via a feature gate
  2. Aligns the units with the system metrics semantic convention
  3. Enhances the tests to test for correct units and descriptions (for the new implementation only)

Link to tracking Issue: #9794

Testing:
Units are changed in expected_metrics.json files, as well as descriptions added. The legacy scrape implementation is now not tested in comparison to the new one, since they are have different units and descriptions. They have been proven equivalent by the last PR, and now they will start to diverge as we make enhancements to the new implementation.

Documentation: Documented the feature gate in the README.

@jamesmoessis jamesmoessis requested review from a team and dmitryax July 27, 2022 01:06

@MovieStoreGuy MovieStoreGuy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few comments on it but it is straight forward enough.

I do need to revisit what is the recommended time to give users for breaking changes.

Comment thread receiver/dockerstatsreceiver/factory.go
Comment thread receiver/dockerstatsreceiver/factory.go Outdated
Comment thread receiver/dockerstatsreceiver/README.md
Comment thread receiver/dockerstatsreceiver/README.md Outdated
jamesmoessis and others added 3 commits July 27, 2022 11:42
Co-authored-by: Sean Marciniak <30928402+MovieStoreGuy@users.noreply.github.com>
@jamesmoessis

Copy link
Copy Markdown
Contributor Author

Looks like there's an unrelated windows test failing the build

@jamesmoessis

Copy link
Copy Markdown
Contributor Author

@dmitryax is there anything left to do to get this PR merged? Perhaps a codeowner review from @rmfitzpatrick might help?

@dmitryax dmitryax merged commit 651712b into open-telemetry:main Aug 1, 2022
@dmitryax

dmitryax commented Aug 1, 2022

Copy link
Copy Markdown
Member

@jamesmoessis LGTM. But it's better to submit separate PRs for unrelated even small changes

@jamesmoessis jamesmoessis deleted the dockerstats-featuregate-new-impl branch August 2, 2022 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants