Skip to content

Commit

Permalink
chore: gnmi configuration update (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
kongfei605 authored Oct 11, 2024
1 parent aaead10 commit a87cb4e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions conf/input.gnmi/gnmi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ interval="1s"
# gNMI telemetry input plugin
[[instances]]
## Address and port of the gNMI GRPC server
#addresses = [1.2.3.4:5678]
addresses = []

## define credentials
Expand Down Expand Up @@ -69,18 +68,19 @@ interval="1s"
## and path to a specific substructure inside it that should be subscribed
## to (similar to an XPath). YANG models can be found e.g. here:
## https://github.com/YangModels/yang/tree/master/vendor/cisco/xr
origin = "openconfig-interfaces"
# origin = "openconfig-interfaces"
origin = ""
path = "/interfaces/interface/state/counters"

## Subscription mode ("target_defined", "sample", "on_change") and interval
subscription_mode = "sample"
sample_interval = "10s"
sample_interval = "15s"

## Suppress redundant transmissions when measured values are unchanged
# suppress_redundant = false
suppress_redundant = true

## If suppression is enabled, send updates at least every X seconds anyway
# heartbeat_interval = "60s"
heartbeat_interval = "15s"

## Tag subscriptions are applied as tags to other subscriptions.
# [[instances.tag_subscription]]
Expand Down

0 comments on commit a87cb4e

Please sign in to comment.