-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Service tag wrong randomly after restarts #22341
Comments
Hi @bsteve99, can you share your config (redact sensitive data first) and log samples so I can better understand the differences you attempted to describe above? If I understand correctly, you are using a |
I actually may have stumbled on a fix, with many restarts and no issues. I was using datadog_log sink and re-wrote it in http sink; and its looking good.
|
Sounds great. But also, I am curious why |
Yes, agree. But random _RESERVED_service should be enough info to see why this might happen randomly, as I said seems like a race condition that might be worth looking into. The other detail I have is once this _RESERVED_service tag starts coming out, it never stops until we can restart vector. So some state is getting set; and never re-evaluating. Restart vector is the only solution; and once its fixed, it never messes it up ( until a restart may or may not cause it to be good or bad ) |
A note for the community
Problem
Seemingly randomly my service tag comes out as _RESERVED_service: blah after restarts. But restart again and it might be correct as service: blah ( when sending logging requests to datadog ). Maybe a race condition..???
The condition will not fix itself until I continue to restart vector to get it to work correctly.
I've tried versions 0.39.0 to 0.44.0 with the same issue occurring.
I've done "tap's" and do not see any difference in the json log output (prior to sending to DD); when it works correctly vs when it does not work correctly.
Configuration
Version
0.44.0
Debug Output
Example Data
No response
Additional Context
This is running on Linux.
References
No response
The text was updated successfully, but these errors were encountered: