-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
otlpjsonfilereceiver: support repeatedly ingesting telemetry from a static file at an interval #31533
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
…tbeats (#31534) **Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> This change adds a config option to allow users to replay static telemetry at an interval (poll_interval is the configurable interval). This is useful for some usecases like: - Sending a heartbeat log to a logging backend, as a signal that the logging agent is alive - Sending static metadata as metrics to metrics backend. The metadata can be read using the `otlpjsonfilereceiver` that uses this package and config. **Link to tracking Issue:** #31533 **Testing:** - Manual testing - unit test for the fileconsumer - test for the `otlpjsonfilereceiver` **Documentation:** <Describe the documentation added.> --------- Signed-off-by: Ridwan Sharif <ridwanmsharif@google.com>
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Completed in #31534 |
Component(s)
receiver/otlpjsonfile
Is your feature request related to a problem? Please describe.
This is useful for some usecases like:
- Sending a heartbeat log to a logging backend, as a signal that the
logging agent is alive
- Sending static metadata as metrics to metrics backend. The metadata
can be read using the
otlpjsonfilereceiver
that uses this packageand config.
Describe the solution you'd like
A config knob that allows re-reading the file at an interval from the beginning.
Describe alternatives you've considered
Separate receiver for this use case. But that is not ideal to maintain.
Additional context
No response
The text was updated successfully, but these errors were encountered: