| 1 | amends "../../config/Service.pkl" |
| 2 | |
| 3 | meta { name = "Victoria"; tagline = "Metrics, logs, and traces" } |
| 4 | |
| 5 | containers { |
| 6 | ["logs"] { |
| 7 | image = "docker.io/victoriametrics/victoria-logs:v1.52.0" |
| 8 | cpu = 300 |
| 9 | memory = 512 |
| 10 | args { "-storageDataPath=/logs"; "-retentionPeriod=30d" } |
| 11 | |
| 12 | http { |
| 13 | containerPort = 9428 |
| 14 | subdomain = "logs" |
| 15 | authRole = "infra-admin" |
| 16 | checkPath = "/health" |
| 17 | metricsPath = "/metrics" |
| 18 | } |
| 19 | |
| 20 | volumes { ["/logs"] {} } |
| 21 | } |
| 22 | ["metrics"] { |
| 23 | image = "docker.io/victoriametrics/victoria-metrics:v1.152.0" |
| 24 | cpu = 300 |
| 25 | memory = 512 |
| 26 | args { "-storageDataPath=/metrics"; "-retentionPeriod=30d"; "-usePromCompatibleNaming" } |
| 27 | |
| 28 | http { |
| 29 | containerPort = 8428 |
| 30 | hostPort = 18428 |
| 31 | subdomain = "metrics" |
| 32 | authRole = "infra-admin" |
| 33 | checkPath = "/health" |
| 34 | metricsPath = "/metrics" |
| 35 | } |
| 36 | |
| 37 | volumes { ["/metrics"] {} } |
| 38 | } |
| 39 | ["traces"] { |
| 40 | image = "docker.io/victoriametrics/victoria-traces:v0.11.1" |
| 41 | cpu = 300 |
| 42 | memory = 512 |
| 43 | args { "-storageDataPath=/traces"; "-retentionPeriod=30d" } |
| 44 | |
| 45 | http { |
| 46 | containerPort = 10428 |
| 47 | hostPort = 10428 |
| 48 | subdomain = "traces" |
| 49 | authRole = "infra-admin" |
| 50 | checkPath = "/health" |
| 51 | metricsPath = "/metrics" |
| 52 | } |
| 53 | |
| 54 | volumes { ["/traces"] {} } |
| 55 | } |
| 56 | } |