SEMCON-763: Adding otelcol metrics to the otel metrics metadata #20571
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Updates the metadata for the OTel Collector metrics with some missing metrics.
See: https://opentelemetry.io/docs/collector/internal-telemetry/
Motivation
The latest changes in the Prometheus receiver broke the names of the metrics being emitted by the collector. We need to use equiv_otel to union the old metric names with the new metric names, to make sure that our OOTB dashboards work for all customers. This requires being able to capture the metric equivalences in the Semantic Core, which itself relies on the metrics metadata files. We need the info in these files to be up to date for the equivalences to be accurate.
More info in https://datadoghq.atlassian.net/browse/SEMCON-752
Incident slack channel: #incident-35946
Review checklist (to be filled by reviewers)
qa/skip-qa
label if the PR doesn't need to be tested during QA.backport/<branch-name>
label to the PR and it will automatically open a backport PR once this one is merged