-
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
gNMI: Add support for static and dynamic tag mappings #7462
Comments
I'm not sure how feasible the request is in the current architecture -- I'll have to play around a bit with gNMI in my lab to see what's feasible utilizing the openconfig gnmi module. |
Hi, any chance to see that in a release any time soon? Thanks for your work, |
Any estimated date to include this feature? I really need it for iosxr telemetry |
Here's a workaround for this issue that will enable you to remap tags embedded in fields using the starlark processor plugin. Just replace the strings in the
Please note this duplicates the field data as tag data rather than moving the field data to tags. |
I think this is the approach used in #8250 -- and it's not working for my device because of how the device itself reports metrics individually instead of batched/grouped. |
Feature Request
Currently, the SNMP input plugin supports adding tags to measurements based on other data - it is common to add the interface description to interface counter readings with the following config
Ideally, we should be able to do similar with cisco_telemetry_gnmi, via subscribing to
openconfig-interfaces:/interfaces/interface/state/description
to maintain an up-to-date map, and adding the tag when transmitting measurementsProposal:
Be able to configure gNMI paths as tag-only, with additional configuration to identify the search key. We should be able to read the current value of those paths, and subscribe to updates to maintain an in-memory map to apply to measurements
Current behavior:
Only global tags are supported?
Desired behavior:
Dynamic tags based on measurement values
Use case:
When using InfluxDB as a backend, tags cannot be added to a measurement post-processing, so they need to be present in the initial reading. Being able to apply dynamic device metadata to each measurement improves the searchability of measurements (show me interface stats for all interfaces whose descriptions start with "TRANSIT", etc)
The text was updated successfully, but these errors were encountered: