Skip to content
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 depth extension #16432

Open
Mrflatt opened this issue Jan 25, 2025 · 0 comments
Open

gNMI depth extension #16432

Mrflatt opened this issue Jan 25, 2025 · 0 comments
Labels
feature request Requests for new plugin and for new features to existing plugins

Comments

@Mrflatt
Copy link
Contributor

Mrflatt commented Jan 25, 2025

Use Case

gMNI has few well-known extensions, which telegraf does not support yet.
Depth extension would be good first one, to allow controlling depth which response is parsed.

I already have made changes to use with our usecases, and will open pr, if well-known extensions should be supported by telegraf

Expected behavior

If depth value is added, []*gnmi_ext.Extension should be added to gnmi.SubscribeRequest.

[[inputs.gnmi]]
  ## Address and port of the gNMI GRPC server
  addresses = ["127.0.0.1:57777"]

  ## define credentials
  username = "cisco"
  password = "cisco"

  ## gRPC Depth Extension
  ## See https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-depth.md
  ## If specified, adds gNMI depth extension, which controls depth of the subtree to be returned in the response.
  depth = 2

Actual behavior

No depth option

Additional info

No response

@Mrflatt Mrflatt added the feature request Requests for new plugin and for new features to existing plugins label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new plugin and for new features to existing plugins
Projects
None yet
Development

No branches or pull requests

1 participant