influxdata / influxdata/telegraf

Internal plugin additional fields

Open
#8,607 3 comments 0 reactions 0 assignees View on GitHub
area/agent feature request
Dominant language
Go
Stars
17.8k
Forks
5.8k
Avg merge
1d 20h
Merged PRs (30d)
161

Description

### Proposal:
Add metrics_dropped and metrics_filtered fields to input plugins.
Add metrics_dropped, metrics_filtered, metrics_gathered(processed/aggregated) to processors and aggregators plugins.

### Current behavior:
metrics_dropped and metrics_filtered are only available for output plugins.
For processors and aggregators plugins the only available field is internal_process_errors

### Desired behavior:
Being able to see how many metrics has been filtered/dropped out on the input level.
Being able to see how many metrics has been gathered(processed/aggregated)/filtered/dropped on the processor/aggregator level.

### Use case:
Improving telegraf self monitoring, additional performance measurement, could be very useful with exec input plugin or regexp processor plugin

Contributor guide

Open the contributing guide

Research direction

Start by locating how internal metrics are exposed for output plugins, then compare the input, processor, and aggregator plugin paths. Trace where dropped, filtered, gathered, processed, and aggregated counts could be reported. Done means the requested fields are available at the stated plugin levels and their values can be verified through the existing self-monitoring output.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.