Skip to content

Add support for a callback function when using an inserter #306

@prnvbn

Description

@prnvbn

Use case

Getting additional telemetry for the inserter. Right now there is no way to know when a batch was committed. With the help of a callback function, one can hook arbitrary code to run after a batch has been committed

The main use case for this additional telemetry - e.g. bumping OTEL/prometheus metrics, adding log lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions