Skip to content
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

feat(influx2otel): add influx->otel package #1

Merged
merged 1 commit into from
Apr 19, 2021
Merged

Conversation

jacobmarble
Copy link
Contributor

Package influx2otel converts line protocol tuples into OpenTelemetry Metrics protocol buffer objects.

Line protocol has a much simpler schema compared to OpenTelemetry. As such, it is not possible to reliably guess metric types based on line protocol alone. Therefore, this proposal simply treats everything like a gauge.

@jacobmarble jacobmarble self-assigned this Apr 7, 2021
@codeboten
Copy link
Contributor

I'd love to see this merged as I could make use of it right away in influxdata/telegraf#9109. The surface area of the API seems right to me.

Based on the data types supported in the line protocol, using gauges seems like a good starting point.

@jacobmarble jacobmarble merged commit 3b3a741 into main Apr 19, 2021
@jacobmarble jacobmarble deleted the jgm-influx2otel branch April 19, 2021 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants