influxdata / influxdata/influxdb-observability

influx2otel: convert bool type metrics to 0/1 gauge

Open Beginner friendly
#313 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
56
Forks
29
Avg merge
12d 13h
Merged PRs (30d)
4

Description

booleans are currently unsupported https://github.com/influxdata/influxdb-observability/blob/main/influx2otel/metrics.go#L233
I think modeling them as a 0 = false, 1 = true gauge is the most appropriate behaviour, in line with prometheus conventions.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at influx2otel/metrics.go around line 233, where boolean metrics are currently unsupported, and trace the metric conversion path. Implement the requested 0=false and 1=true gauge behavior, then verify that boolean metrics are accepted and emitted with those values using the existing influx2otel test workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.