You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys
I sometimes need to generate non global annotations (ie. annotations linked to a particular resource ; ex events,server=db1 title=reboot,text=i have rebooted this server only).
I was thinking to additionnal optionnal text panel (between timestamp and title for example), which could do the job.
Do you plan to do something like this fot this kind of situations ?
thanks
thomas
The text was updated successfully, but these errors were encountered:
If I understand the point, you are using a tag called "server". If so, tags field do your job:
In Annotations Options > Column Mapping:
Table: events
Title: title
Tags: server
Text: text
Then, in your dashboard > Annotations settings add new query:
Name: serverDB1
Data source: <your_data_source>
Hide toggle / Color: what you want
Query: select * from events where server = 'db1'
Field mappings:
Title: title
Tags: server
Text: text
You can repeat it for another query, like "db2", "db3", ...
Now you can insert annotation that respect your line of Influx Line Protocol
events,server='db1' title='reboot',text='i have rebooted this server only'
Thanks for your answer.
It ts indeed what I was trying to do, thanks !
Bonus question, is it possible to do the same thing, but with multiple different vales (ex : server, and another one, like region for example)
Like we specifically map server on tags, i believe we can't do that ?
Hi guys
I sometimes need to generate non global annotations (ie. annotations linked to a particular resource ; ex events,server=db1 title=reboot,text=i have rebooted this server only).
I was thinking to additionnal optionnal text panel (between timestamp and title for example), which could do the job.
Do you plan to do something like this fot this kind of situations ?
thanks
thomas
The text was updated successfully, but these errors were encountered: