Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tynany committed Sep 13, 2024
1 parent 5e978f3 commit ad34a2f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ configs:
- interface
- environment
- power
- route_engine
- fpc
- ospf
- optics
- ipsec
interface_description_keys: # List of JSON keys in the interface description to include as labels in the 'interface_description' metric. Optional.
-
interface_metric_keys: # List of JSON keys in the interface description to create static metrics from. Optional.
Expand Down Expand Up @@ -104,6 +109,7 @@ The below metrics are currently implemented.
- IPsec, from `show security ipsec security-associations` and `show security ipsec inactive-tunnels`.
- Optics, from `show interface diagnostics optics`
- OSPF, from `show ospf neighbor`
- FPC, from `show chassis fpc`

### BGP: junos_bgp_peer_types_up
Junos Exporter exposes a special metric, `junos_bgp_peer_types_up`, that can be used in scenarios where you want to create Prometheus queries that report on the number of types of BGP peers that are currently established, such as for Alertmanager. To implement this metric, a JSON formatted description must be configured on your BGP group. Junos Exporter will then use the value from the keys specific under the `bgp_peer_type_keys` configuration, and aggregate all BGP peers that are currently established and configured with that type.
Expand Down

0 comments on commit ad34a2f

Please sign in to comment.