influxdata / influxdata/telegraf
Allow option to start logging the whole path of
- Dominant language
- Go
- Stars
- 17.8k
- Forks
- 5.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 161
Description
### Use Case
To start logging the whole path the metric went through while processing, during test runs:
input: influxdb_v2_listener
--initial_metric
processor: regex
--modified_metric
processor: rename
--renamed_metric
aggregator: basicstats
--aggregated_metric
output: file
--output_metric
### Expected behavior
During test run start logging every step a metric went through from input to output and also what was the state of the log after each step.
### Actual behavior
There is no way to check which processors/aggregators were applied for a specific metric
### Additional info
_No response_
Contributor guide
Research direction
Start by tracing Telegraf's metric processing path during test runs, since the issue does not name specific files or tests. Determine where per-metric processor, aggregator, input, and output state could be recorded, then define an option that logs each step and its state from input through output. Done means a test run can show the complete path for a selected metric.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100