[[inputs.gnmi]]
  addresses     = ["127.0.0.1"]
  [[inputs.gnmi.subscription]]
    name              = "oc-neigh-state"
    origin            = "openconfig"
    path              = "/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/session-state"
    subscription_mode = "sample"
    sample_interval   = "10s"
  [[inputs.gnmi.tag_subscription]]
    name              = "oc-neigh-desc"
    origin            = "openconfig"
    path              = "/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/description"
    subscription_mode = "on_change"
    elements          = ["network-instance", "protocol", "neighbor"]
