Karim Radhouani
Karim Radhouani
I find `--replace-cli-origin "cli"` a bit redundant, the CLI origin is supposed to always be equal to `cli`. Maybe add just 2 flags `--replace-cli ` and `--replace-cli-file ` ? BTW...
The reason `gnmic --update-path cli:/ --update-file ` didn't work is that the file is assumed to be either JSON or YAML. I removed that restriction in #55 , the command...
This should be possible to do with grpc DialOption (grpc.WithContextDialer), the question is how customizable the dialer should be (type, address, credentials, etc) ?
Unfortunately that's not how event processors function: - Processors apply only when the output format is set to `event`, the default format is `json`. - Processors should always output a...
> Hello! Can U put here some basic example of msg-template usage? Thank you! ```yaml subscriptions: sub1: paths: - /interface/statistics outputs: out1: type: file format: event msg-template: | {{range .}}...
Yes all gomplate functions are imported
It's possible to manipulate the metric name using processors as well. [strings processor](https://gnmic.openconfig.net/user_guide/event_processors/event_strings/#replace) with the replace transform allows you to change the path to the desired metric name.
That's because you apply path-base before replacing the subscription-name. The way to do it is replace subscription-name based on the xpath (values.X) then apply path-base on the values name.
You are missing the --encoding flag. you can either pass it as a flag or part of the config file.
can you show an example of how you did that ?