Support for tags in InfluxDb #435
-
|
Hi,
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. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
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.
-
|
@BrianJKoopman I just saw the pull request notification and am looking forward to trying it out. |
Beta Was this translation helpful? Give feedback.
Tags are now officially supported in ocs v0.12.1.
No agents (other than the
FakeDataAgent) currently make use of them, but the infrastructure now exists.