-
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
Add "embedded_tags" in GNMI Plugin #8250
Comments
Hi, |
Hello, have you already undestanding of the eventual deployment path for this feature, please? |
Hello, $ telegraf --config telegraf_1.conf |
Feature Request
Add "embedded_tags" in GNMI Plugin
Proposal:
We need add for GNMI the feature "embedded_tags" like the plugin "cisco_telemetry_mdt" has:
https://github.com/influxdata/telegraf/tree/master/plugins/inputs/cisco_telemetry_mdt
Define (for certain nested telemetry measurements with embedded tags) which fields are tags
embedded_tags = ["Cisco-IOS-XR-qos-ma-oper:qos/interface-table/interface/input/service-policy-names/service-policy-instance/statistics/class-stats/class-name"]
Current behavior:
In some yang models (iosxr telemetry) there are certain fields that are defined like a fields but really they are tags, for example this measure
"Cisco-IOS-XR-qos-ma-oper:qos/interface-table/interface/input/service-policy-names/service-policy-instance/statistics/class-stats/class-name"
IOSXR Routers send "source","interface-name","service-policy-name" like tags but can be more than one "class-name" in one "service-policy-name". In our case, we have 7 different "class-name" with statistics of each class-name in a service-policy and telegraf only sent to the output the last one because we can not change this field to tag in the input plugin
Desired behavior:
To define some fields like tags in input.
Use case:
IOSXR Telemetry
The text was updated successfully, but these errors were encountered: