Skip to content

Add persistent state feature to Telegraf plugins (bookmarking) #8352

@sjwang90

Description

@sjwang90

Proposal:

Add bookmarking/persistent state feature to Telegraf plugins - when Telegraf restarts, it would remember where it left off. Feature would be implemented agent-wide but Telegraf plugins would individually need to opt in.

Current behavior:

When Telegraf restarts, it goes back to the beginning to start reading metrics.

Desired behavior:

When Telegraf restarts, it would pick up reading metrics from where it left off.

Use case:

Especially important for Logging use case: Customer is currently using NXLog (logging agent) in addition to Telegraf. Would like Telegraf agent to remember its position when it restarts as it does in NXLog so it can use only one agent for all its data ingestion.

Metadata

Metadata

Assignees

Labels

area/tailfeature requestRequests for new plugin and for new features to existing pluginspm/core capabilityFeature requests that impact and improve core Telegraf

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions