Created
September 7, 2020 10:28
-
-
Save velotiotech/7323ef8969bfeb40929b0d1205518642 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prometheus: | |
url: http://prometheus-server | |
port: 0 | |
image: | |
tag: latest | |
rules: | |
custom: | |
- seriesQuery: 'container_network_receive_packets_total{namespace!="",pod!=""}' | |
resources: | |
overrides: | |
namespace: {resource: "namespace"} | |
pod: {resource: "pod"} | |
name: | |
matches: "container_network_receive_packets_total" | |
as: "packets_in" | |
metricsQuery: <<.Series>>{<<.LabelMatchers>>} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment