Replies: 1 comment
-
Hi @mxturri, apologies for the slow response here. We don't currently have any way of adding tags to the data published to InfluxDB via the ocs agent. Using tags more effectively is something I had wanted to address (#175), but once we deployed the existing scheme the inertia of using that scheme was difficult to overcome. Our current approach defines a different 'address_root' per "platform" (similar your refrigeration units). This makes the "data buckets" unique like:
This 'address_root' is defined in ocs site config file (SCF). 'observatory' is just the default/example everywhere. I can definitely see how adding tags as you suggest here would be useful, and do agree this isn't trivial. I'm open to adding them, we just need to be aware to preserve current functionality without the tags. I'm happy to discuss further ideas for implementation. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I wasn't able to find any way of adding tags in the data publication to influxdb. It's possible that I didn't look carefully enough.
I have two use cases that I am considering:
This would be useful, for example, to distinguish between a production and a development environment
The use case I have in mind is the following. At SLAC we are monitoring a handful of refrigeration units, all with the same set of monitoring clients, for example we have 4 separate CryomechCPAAgent instances. These agents are publishing the same data set in different buckets whose name is defined by the agent's instance-id. For example:
It would be nice if there were a way to publish all the agent's data in the same bucket, with the addition of a tag to differentiate the instance id:
Having tags in the data would allow much more flexibility when visualizing the data in grafana, having, for example, the same dashboard to visualize data from different sources though the use of drop-down variables to select the desired tags.
I realize this is not a trivial request.
Thanks for any feedback/insight/help you can provide.
Beta Was this translation helpful? Give feedback.
All reactions