-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Identification of data in multiple telegraf #5956
Comments
You should use the However, if for some reason you are running multiple Telegraf's, you can use the |
@danielnelson I am using different telegraf for different hosts but when I give input of these telegrafs to one telegraf and then send those metrics to prometheus. So at this point of time, I am not able to identify the origin of metrics. |
Can you describe the full path of the metrics from creation to prometheus, including which plugins are used? |
Hello @danielnelson ,
NF-1 config file (telegraf.conf)
NF-2 docker-compose.yml
NF-2 Config file
Aggregator telegraf's docker-compose
Telegraf aggregator's config:
So when data comes at prometheus then I am not able to identify which data comes from which metrics. Let me know if you get something from this. |
I notice you are using What I recommend is to switch to |
@danielnelson Thanks, I will try this and let you know whether it works or not. |
@danielnelson Thanks, This solution worked!!! |
Feature Request
Opening a feature request kicks off a discussion.
Proposal: Identification of multiple telelgraf in output plugin
Current behavior: Not able to identify which data is coming from which telegraf
Desired behavior: User should be able to filter data from a given tag name
Use case: I have a use case where I am integrating multiple telegrafs (child telegraf) data into one (Parent telegraf) and sending parent telegraf's data to prometheus.
So the problem we are facing is that we want to identify from which child telegraf data is coming or we can say we want to filter metrics data on the basis of child telegraf's tag or given name. So it becomes necessary for us to give tag to input plugins. But when child input's plugin's data being feed to parent telegraf then there is no way to find out from which child telegraf data is coming.
The text was updated successfully, but these errors were encountered: