honeycombio / opentelemetry-collector-configs

Honeycomb Metrics-flavored OpenTelemetry Collector configuration
Apache License 2.0
7 stars 4 forks source link

Adjust timestamps to the nearest time unit specified in the config #3

Closed mollystamos123 closed 3 years ago

mollystamos123 commented 3 years ago

Which problem is this PR solving?

Adjusts timestamps to the nearest time unit (specified by duration in the config)

Short description of the changes

Replaces hard coded 1s duration with the duration pulled from the config