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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_CH", | |
"label": "CH", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "vertamedia-clickhouse-datasource", | |
"pluginName": "ClickHouse" | |
} |
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
{ | |
"__inputs": [], | |
"__requires": [ | |
{ | |
"type": "grafana", | |
"id": "grafana", | |
"name": "Grafana", | |
"version": "5.3.0-beta1" | |
} | |
], |
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
global: | |
scrape_interval: 5s | |
rule_files: | |
- "rules.yml" | |
scrape_configs: | |
- job_name: 'node_exporter_1' | |
static_configs: | |
- targets: ['localhost:9100'] | |
- job_name: 'node_exporter_2' | |
static_configs: |
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
groups: | |
- name: CPU rules | |
interval: 10s | |
rules: | |
# The count of CPUs per node, useful for getting CPU time as a percent of total. | |
- record: instance:node_cpus:count | |
expr: > | |
count without (cpu, mode) ( | |
node_cpu_seconds_total{mode="idle"} | |
) |
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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
) | |
func main() { |
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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"github.com/VictoriaMetrics/metrics" | |
) |
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
serviceMonitor: | |
enabled: true | |
# disabled, external ruler is used | |
ruler: | |
enabled: false | |
# disabled, external alertmanager is used | |
alertmanager: | |
enabled: false |
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
vmselect: | |
serviceMonitor: | |
enabled: true | |
persistentVolume: | |
enabled: true | |
size: 15Gi | |
storageClass: standard-rwo | |
extraLabels: | |
cluster: victoria-metrics | |
extraArgs: |
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
# vmtag is a docker image tag for VictoriaMetrics components, | |
# which run inside the prometheus-benchmark - e.g. vmagent, vmalert, vmsingle. | |
vmtag: "v1.80.0" | |
nodeSelector: | |
app: rw-benchmark | |
# targetsCount defines the number of nodeexporter instances to scrape. | |
# This option allows to configure the number of active time series to push | |
# to remoteStorages. |
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
# vmtag is a docker image tag for VictoriaMetrics components, | |
# which run inside the prometheus-benchmark - e.g. vmagent, vmalert, vmsingle. | |
vmtag: "v1.80.0" | |
# nodeSelector is the list of key-value pairs for selecting instances | |
# where benchmark pods should be deployed. | |
nodeSelector: {} | |
# targetsCount defines the number of nodeexporter instances to scrape. | |
# This option allows to configure the number of active time series to push |
OlderNewer