Skip to content

feat(inputs.internal): Add counters for failing writes and gathers#18571

Open
srebhan wants to merge 1 commit intoinfluxdata:masterfrom
srebhan:internal_stats_issue_16588
Open

feat(inputs.internal): Add counters for failing writes and gathers#18571
srebhan wants to merge 1 commit intoinfluxdata:masterfrom
srebhan:internal_stats_issue_16588

Conversation

@srebhan
Copy link
Member

@srebhan srebhan commented Mar 19, 2026

Summary

This PR adds counters for the number of failed collections and failed writes as well as a new agent-wide write error counter.

Important

The PR changes the semantics of the agent's gather_errors counter to really count the number of gather calls
returning an error to adhere to other naming conventions of selfstat counters.

Checklist

Related issues

resolves #16588

@telegraf-tiger telegraf-tiger bot added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Mar 19, 2026
@telegraf-tiger
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Output plugin errors not being recorded correctly for inputs.internal plugin

1 participant