Skip to content

Commit

Permalink
Lint the code
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Sep 5, 2024
1 parent 8559504 commit b5734f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
(
"py:class",
"opentelemetry.sdk.metrics._internal.aggregation._Aggregation",
)
),
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
6 changes: 2 additions & 4 deletions docs/examples/metrics/reader/preferred_exemplarfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
from opentelemetry import trace
from opentelemetry.metrics import get_meter_provider, set_meter_provider
from opentelemetry.sdk.metrics import MeterProvider
from opentelemetry.sdk.metrics._internal.exemplar import (
AlwaysOnExemplarFilter,
)
from opentelemetry.sdk.metrics._internal.exemplar import AlwaysOnExemplarFilter
from opentelemetry.sdk.metrics.export import (
ConsoleMetricExporter,
PeriodicExportingMetricReader,
Expand All @@ -30,7 +28,7 @@
# and TraceBasedExemplarFilter.
# The default value is `TraceBasedExemplarFilter`.
#
# You can also use the environment variable `OTEL_METRICS_EXEMPLAR_FILTER`
# You can also use the environment variable `OTEL_METRICS_EXEMPLAR_FILTER`
# to change the default value.
#
# You can also define your own filter by implementing the abstract class
Expand Down

0 comments on commit b5734f5

Please sign in to comment.