Skip to content

Interval and Timeout properties of PeriodicExportingMetricReader always converted to seconds #34

@duncanpo

Description

@duncanpo

`

r = opentelemetry.sdk.metrics.PeriodicExportingMetricReader(exp, "Interval", minutes(10))

r =

PeriodicExportingMetricReader with properties:

MetricExporter: [1×1 opentelemetry.exporters.otlp.OtlpHttpMetricExporter]
      Interval: 600 sec
       Timeout: 30 sec

`
The conversion is unnecessary, and makes the value harder to read and understand

Metadata

Metadata

Assignees

Labels

metricsIssues related to metrics leading up to initial release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions