Skip to content
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

How to turn off caching in decoder #441

Closed
MoonHyuk opened this issue Jun 25, 2024 · 3 comments
Closed

How to turn off caching in decoder #441

MoonHyuk opened this issue Jun 25, 2024 · 3 comments

Comments

@MoonHyuk
Copy link

We are going to create a custom decoder, and the decoded values ​​can often change.
Is there any way to disable decoder caching? Thanks.

@bobrik
Copy link
Contributor

bobrik commented Jun 25, 2024

Can you be a bit more specific about your decoder? What does it decode that values change?

@MoonHyuk
Copy link
Author

@bobrik
For example, we use our internal API to convert an IP address into a hostname, which can change over time.

@MoonHyuk
Copy link
Author

MoonHyuk commented Jun 26, 2024

Perhaps using Prometheus relabeling might be a better approach.
I will close this issue. Thank you for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants