Skip to content

Commit cbff1fb

Browse files
committed
chore: update demo
1 parent f6dcec3 commit cbff1fb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

example/demo/nacp.nomad.hcl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ job "nacp" {
3232
OTEL_EXPORTER_OTLP_ENDPOINT = "http://${attr.unique.network.ip-address}:4318"
3333

3434
OTEL_EXPORTER_OTLP_PROTOCOL = "http/protobuf"
35+
36+
OTEL_RESOURCE_ATTRIBUTES = "service.name=nacp,service.version=0.8.0,service.instance.id=${NOMAD_SHORT_ALLOC_ID}"
3537
}
3638
template {
3739
data = file("nacp.conf")
@@ -67,7 +69,7 @@ job "nacp" {
6769

6870

6971
config {
70-
image = "grafana/otel-lgtm"
72+
image = "grafana/otel-lgtm:0.11.4"
7173
ports = ["grafana", "otlp_http"]
7274
}
7375

example/example1/example1.nomad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
job "app" {
22

33
meta {
4-
costcenter = "cccode-123"
4+
55
}
66
group "app" {
77

0 commit comments

Comments
 (0)