Ansible Script 추가

This commit is contained in:
ByeonJungHun
2023-12-19 13:36:16 +09:00
parent 0273450ff6
commit 05cb8d9269
2610 changed files with 281893 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
agent:
metadata:
agent_name: "{{ docker_postgres_agent_name | default('dsk-docker-postgres-agent') }}"
option:
exporter_config:
command: "/etc/datasaker/target-exporter"
port: 9187
scrape_configs:
- job_name: dsk-postgres-agent
metrics_path: /metrics/short
url: localhost:9187
filtering_configs:
rule: drop
- job_name: dsk-postgres-agent-long
scrape_interval: 60s
scrape_timeout: 10s
metrics_path: /metrics/long
url: localhost:9187
filtering_configs:
rule: drop