-
Notifications
You must be signed in to change notification settings - Fork 661
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix OTLPMetricExporter ignores preferred_aggregation property (#3603)
* fix #3522 OTLPMetricExporter ignores preferred_aggregation * make OTLPMetricExporter pass the preferred_aggregation argument to the _common_configuration function * Remove unnecessary import from metrics encoder * docs: added changelog entry for pr #3603 * Added unit test to make sure preferred_aggregation override works * chore: break aggregation and temporality config in two functions * chore: removed instrument_class_aggregation variable external declaration, to avoid possible problems with linters * chore: removed unnecessary variable declaration * docs: moved changelog entry to unreleased * chore: added preferred_aggregation argument to _common_configuration call * chore: added unit test for grpc otlp metric exporter * test: moved preferred_aggregation test to class * chore: fix linter findings on metrics_encoder/__init__.py * chore: fix linter findings on grpc/metrics_exporter/__init__.py * chore: fix linter findings on http/metrics_exporter/__init__.py * fix: removed code duplicate * chore: fixed linter errors * Ignoring pylint for protected access * Fix Aggregation import * Rename getter methods to private --------- Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
- Loading branch information
1 parent
6e6590c
commit 12f4490
Showing
6 changed files
with
69 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters