Last active
March 3, 2023 05:57
-
-
Save ghostflare76/8a653fa423fd71381739a3659a4307b4 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
version: '3.8' | |
services: | |
prometheus: | |
image: prom/prometheus:v2.40.7 | |
command: | |
- --web.enable-remote-write-receiver | |
- --enable-feature=native-histograms | |
- --config.file=/etc/prometheus/prometheus.yml | |
ports: | |
- "9090:9090" | |
volumes: | |
- ./etc/prometheus/scrap.yml:/etc/prometheus/prometheus.yml | |
grafana: | |
image: grafana/grafana:9.2.6 | |
ports: | |
- "3000:3000" | |
environment: | |
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin | |
- GF_AUTH_ANONYMOUS_ENABLED=true | |
- GF_AUTH_BASIC_ENABLED=false | |
volumes: | |
- ./grafana:/etc/grafana/provisioning/ | |
influxdb: | |
image: influxdb:1.8 | |
ports: | |
- "8086:8086" | |
environment: | |
- INFLUXDB_DB=k6 | |
k6: | |
image: ghcr.io/grafana/xk6-client-prometheus-remote:v0.2.4 | |
build: . | |
ports: | |
- "6565:6565" | |
environment: | |
- K6_OUT=influxdb=http://influxdb:8086/k6 | |
depends_on: | |
- prometheus | |
- victoriametrics | |
volumes: | |
- ./samples:/scripts | |
victoriametrics: | |
image: victoriametrics/victoria-metrics:v1.88.0 | |
ports: | |
- 8428:8428 | |
volumes: | |
- vmdata:/storage | |
command: | |
- "--storageDataPath=/storage" | |
- "--httpListenAddr=:8428" | |
- "--influxListenAddr=:8089" | |
volumes: | |
vmdata: {} |
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
https://phind.com/search?cache=97fdca34-d05a-4a35-b3b6-93e7a42d9651 |
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: 10s | |
scrape_configs: | |
- job_name: prometheus | |
static_configs: | |
- targets: ["victoriametrics:8428"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment