Skip to content

Commit ae7cb7b

Browse files
authored
Merge pull request #186 from hossted/dev
grafana alloy
2 parents b26736d + fea582c commit ae7cb7b

3 files changed

Lines changed: 8 additions & 11 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ loki.write "local" {
8888
}
8989
}
9090
}
91+
9192
logging {
9293
level = "debug"
9394
}

compose/monitoring/docker-compose.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
cadvisor:
55
image: gcr.io/cadvisor/cadvisor:v0.47.0
66
container_name: hossted_cadvisor
7-
#ports:
7+
# ports:
88
# - "8082:8080"
99
volumes:
1010
- /:/rootfs:ro
@@ -17,7 +17,7 @@ services:
1717
node_exporter:
1818
image: prom/node-exporter:latest
1919
container_name: hossted_node_exporter
20-
#ports:
20+
# ports:
2121
# - "9100:9100"
2222
volumes:
2323
- /proc:/host/proc:ro
@@ -29,16 +29,12 @@ services:
2929
- '--collector.filesystem.ignored-mount-points="^/(sys|proc|dev|host|etc)($$|/)"'
3030
restart: unless-stopped
3131

32-
grafana_agent:
33-
image: grafana/agent:v0.41.1
34-
container_name: hossted_grafana_agent
35-
entrypoint: |
36-
/bin/bash -c '
37-
AGENT_MODE=flow grafana-agent run /etc/config.river
38-
'
32+
grafana_alloy:
33+
image: grafana/alloy:latest
34+
container_name: hossted_grafana_alloy
3935
ports:
4036
- "12345:12345"
4137
volumes:
42-
- ./config.river:/etc/config.river
38+
- ./config.alloy:/etc/alloy/config.alloy
4339
- /var/run/docker.sock:/var/run/docker.sock:ro
4440
restart: unless-stopped

hossted/service/activate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const (
4848
hosstedPlatformNamespace = "hossted-platform"
4949
hosstedOperatorReleaseName = "hossted-operator"
5050
trivyOperatorReleaseName = "trivy-operator"
51-
grafanaAgentReleaseName = "hossted-grafana-agent"
51+
grafanaAgentReleaseName = "hossted-grafana-alloy"
5252
releaseName = "hossted-operator-cr"
5353
)
5454

0 commit comments

Comments
 (0)