-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Complete switch to new Collector metrics and avoid inadvertent changes #1082
Comments
As described in #1148 (review), we need access to new metrics before deleting legacy metrics, to be able to reference them in our custom extensions. I can submit a PR to unblock this, or you may make this change yourselves if you prefer. |
Alternatively, we may make the telemetry more customizable instead of just exposing its internal parts, e.g. add support for passing custom exporters and more granular configuration with explicit set of metrics to collect, i.e. make it a proper configurable pipeline. I haven't thought about such design in detail yet, just an idea at this point. |
Fixes open-telemetry#1082 This PR removes: - Legacy receiver/exporter metrics: - otelcol/receiver/received_spans - otelcol/receiver/dropped_spans - otelcol/receiver/received_timeseries - otelcol/receiver/dropped_timeseries - otelcol/exporter/received_spans - otelcol/exporter/dropped_spans - otelcol/exporter/received_timeseries - otelcol/exporter/dropped_timeseries - otelcol/exporter/received_logs - otelcol/exporter/dropped_logs - For processors remove the legacy metrics (new metrics have the same data, different names): - e.g. "spans_dropped" -> "processor/spans_dropped" - e.g. "batch_send_size_bytes" -> "processor/batch/batch_send_size_bytes" All the new metrics were enabled when using the --new-metrics flag. The PR also removes two flags: - "--new-metrics" - "--legacy-metrics" Signed-off-by: Bogdan Drutu <[email protected]>
Fixes open-telemetry#1082 This PR removes: - Legacy receiver/exporter metrics: - otelcol/receiver/received_spans - otelcol/receiver/dropped_spans - otelcol/receiver/received_timeseries - otelcol/receiver/dropped_timeseries - otelcol/exporter/received_spans - otelcol/exporter/dropped_spans - otelcol/exporter/received_timeseries - otelcol/exporter/dropped_timeseries - otelcol/exporter/received_logs - otelcol/exporter/dropped_logs - For processors remove the legacy metrics (new metrics have the same data, different names): - e.g. "spans_dropped" -> "processor/spans_dropped" - e.g. "batch_send_size_bytes" -> "processor/batch/batch_send_size_bytes" All the new metrics were enabled when using the --new-metrics flag. The PR also removes two flags: - "--new-metrics" - "--legacy-metrics" Signed-off-by: Bogdan Drutu <[email protected]>
Fixes open-telemetry#1082 This PR removes: - Legacy receiver/exporter metrics: - otelcol/receiver/received_spans - otelcol/receiver/dropped_spans - otelcol/receiver/received_timeseries - otelcol/receiver/dropped_timeseries - otelcol/exporter/received_spans - otelcol/exporter/dropped_spans - otelcol/exporter/received_timeseries - otelcol/exporter/dropped_timeseries - otelcol/exporter/received_logs - otelcol/exporter/dropped_logs - For processors remove the legacy metrics (new metrics have the same data, different names): - e.g. "spans_dropped" -> "processor/spans_dropped" - e.g. "batch_send_size_bytes" -> "processor/batch/batch_send_size_bytes" All the new metrics were enabled when using the --new-metrics flag. The PR also removes two flags: - "--new-metrics" - "--legacy-metrics" Signed-off-by: Bogdan Drutu <[email protected]>
* Remove legacy metrics, they were marked as legacy for ~12 months Fixes #1082 This PR removes: - Legacy receiver/exporter metrics: - otelcol/receiver/received_spans - otelcol/receiver/dropped_spans - otelcol/receiver/received_timeseries - otelcol/receiver/dropped_timeseries - otelcol/exporter/received_spans - otelcol/exporter/dropped_spans - otelcol/exporter/received_timeseries - otelcol/exporter/dropped_timeseries - otelcol/exporter/received_logs - otelcol/exporter/dropped_logs - For processors remove the legacy metrics (new metrics have the same data, different names): - e.g. "spans_dropped" -> "processor/spans_dropped" - e.g. "batch_send_size_bytes" -> "processor/batch/batch_send_size_bytes" All the new metrics were enabled when using the --new-metrics flag. The PR also removes two flags: - "--new-metrics" - "--legacy-metrics" Signed-off-by: Bogdan Drutu <[email protected]> * Update changelog Signed-off-by: Bogdan Drutu <[email protected]> * Fix comments from review Signed-off-by: Bogdan Drutu <[email protected]>
* Remove legacy metrics, they were marked as legacy for ~12 months Fixes open-telemetry/opentelemetry-collector#1082 This PR removes: - Legacy receiver/exporter metrics: - otelcol/receiver/received_spans - otelcol/receiver/dropped_spans - otelcol/receiver/received_timeseries - otelcol/receiver/dropped_timeseries - otelcol/exporter/received_spans - otelcol/exporter/dropped_spans - otelcol/exporter/received_timeseries - otelcol/exporter/dropped_timeseries - otelcol/exporter/received_logs - otelcol/exporter/dropped_logs - For processors remove the legacy metrics (new metrics have the same data, different names): - e.g. "spans_dropped" -> "processor/spans_dropped" - e.g. "batch_send_size_bytes" -> "processor/batch/batch_send_size_bytes" All the new metrics were enabled when using the --new-metrics flag. The PR also removes two flags: - "--new-metrics" - "--legacy-metrics" Signed-off-by: Bogdan Drutu <[email protected]> * Update changelog Signed-off-by: Bogdan Drutu <[email protected]> * Fix comments from review Signed-off-by: Bogdan Drutu <[email protected]>
…y#1082) Bumps [boto3](https://github.com/boto/boto3) from 1.20.28 to 1.20.29. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.20.28...1.20.29) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Remove FeatureFlagService and add flagd * Override image name * Update Grafana OpenSearch datasource version * Update Grafana OpenSearch datasource * fix flagd service Signed-off-by: Pierre Tessier <[email protected]> * fix flagd service Signed-off-by: Pierre Tessier <[email protected]> * fix flagd service Signed-off-by: Pierre Tessier <[email protected]> * fix flagd service Signed-off-by: Pierre Tessier <[email protected]> * Update chart with latest release * Update shippingservice env var * Remove feature flag service from notes Signed-off-by: Pierre Tessier <[email protected]> * Use demo.flagd.json from demo repo Signed-off-by: Pierre Tessier <[email protected]> --------- Signed-off-by: Pierre Tessier <[email protected]> Co-authored-by: Pierre Tessier <[email protected]> Co-authored-by: Tyler Helmuth <[email protected]>
We should complete the switch from the Collector legacy metrics to the new Collector metrics and make harder for inadvertent changes affecting Collector metric names or labels.
obsreport
test breaks on metric name or label changes. Hard code expected labels on obsreport tests #1083The text was updated successfully, but these errors were encountered: