Azure Network Policy Manager Configuration (Prometheus Server)
Monitor and understand your Network Configuration. Uses a Prometheus Server data source.
Azure Network Policy Metrics
Azure Network Policy Manager (NPM) includes informative Prometheus metrics that allow you to monitor and better understand your configurations. We can view these metrics through Grafana dashboard.
|Metric Name||Description||Prometheus Metric Type||Labels|
|number of network policies||Gauge||-|
|number of IPTables rules||Gauge||-|
|number of IPSets||Gauge||-|
|number of IP address entries in all IPSets||Gauge||-|
|runtime for adding a network policy||Summary||quantile (0.5, 0.9, or 0.99)|
|runtime for adding an IPTables rule||Summary||quantile (0.5, 0.9, or 0.99)|
|runtime for adding an IPSet||Summary||quantile (0.5, 0.9, or 0.99)|
|number of entries within each individual IPSet||GaugeVec||set name & hash|
How it works?
- An AKS or AKS engine cluster with Azure Network Policy plugin.
- An Prometheus server installed in cluster. tutorial is in this doc.
- Please refer this doc to enable Grafana dashboard from Prometheus data source
Upload an updated version of an exported dashboard.json file from Grafana