-
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
Could not serialize metric: invalid name from cisco_telemetry_gnmi with gNMI interface on Arista #6391
Comments
This error can be triggered when the measurement name is the empty string [[inputs.cisco_telemetry_gnmi]]
[[inputs.cisco_telemetry_gnmi.subscription]]
name = "interfaces"
origin = "openconfig-interfaces"
path = "/interfaces"
# Subscription mode (one of: "target_defined", "sample", "on_change") and interval
subscription_mode = "target_defined"
sample_interval = "10s" |
@danielnelson unfortunately the issue is the same when i configure |
Do you only have this single subscription? If so you can try a more heavy handed [[inputs.cisco_telemetry_gnmi]]
name_override = "interfaces"
[[inputs.cisco_telemetry_gnmi.subscription]]
name = "interfaces"
origin = "openconfig-interfaces"
path = "/interfaces"
# Subscription mode (one of: "target_defined", "sample", "on_change") and interval
subscription_mode = "target_defined"
sample_interval = "10s" @sbyx Can you take a look into what might be causing this? |
Investigating on this one, I think I can reproduce this on another platform too. |
I got something when i used
@sbyx let me know if I can help, if needed i can give you access to my setup |
@danielnelson @sbyx I tested the fix in #6403 and I can confirm it's working as expected for me. |
I'm getting some issue while testing the input plugin
cisco_telemetry_gnmi
with an arista device.The plugin is able to open the session but it's having some issue to read the data
Since gNMI is a standard interface, it would expect it that to work.
Relevant telegraf.conf:
System info:
Steps to reproduce:
Configure gRPC on Arista device
Start telegraf
Expected behavior:
Since gNMI is a standard interface, the plugin should be able to read the metrics
Actual behavior:
the plugin is reporting some serialization issues
Arista Configuration
The text was updated successfully, but these errors were encountered: