-
Notifications
You must be signed in to change notification settings - Fork 11
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
Define custom tags for service's series #41
Comments
I will take a look on this today. |
Ok after quick test, I propose the following thing We can add a macro for our host/service like _INFLUX_TAG. The value associate to this macro is our custom_tag. The tag key in influxdb is Before the end of the week I should be able to code this function for testing |
Hi @fpeyre, thanks so much for your reply. For me your solution is very interesting and will allow me to classify my datas. |
This is a little tricky and related to InfluxDB. First many link/information about InfluxDB and how it works:
Now in our case:
Adding a new tag add is a new factor to increase this cardinality. In a majority of use case, it's something we can take the liberty of doing. To answer to your question, I can code something to use many tag. For example :
Who make the service/host have 3 tags T1, T2 and T3 with respective values v1, v2 and v3. |
Thanks for this information about the influxdb cardinality ! |
I make a branch with the feature, available here: https://github.com/savoirfairelinux/mod-influxdb/tree/add_custom_tag I must write some test but i have not time to do it now. Maybe we can merge the branch and make a new release on shinken install during January |
Thanks @fpeyre ! |
Is it possible to add custom influxdb tags for shinken service's series ?
Maybe a predefined field of service configuration can be used to do this ?
The text was updated successfully, but these errors were encountered: