Skip to content

Commit

Permalink
Merge pull request #141 from navikt/otel
Browse files Browse the repository at this point in the history
Trying to fix otel
  • Loading branch information
eirikmol authored Sep 4, 2024
2 parents a76b013 + e0db2d1 commit f73d46b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .nais/nais-dev-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ spec:
- name: pen_fss_gateway_scope
value: api://dev-fss.pensjonselvbetjening.pensjon-selvbetjening-fss-gateway/.default
- name: OTEL_RESOURCE_ATTRIBUTES
value: "service.name=tjenestepensjon-simulering-gcp,deployment.environment=q2"
value: "service.name=tjenestepensjon-simulering-gcp,deployment.environment=q2,service.namespace=pensjon,nais.backend=grafana-lgtm"
prometheus:
enabled: true
path: actuator/prometheus
Expand Down
2 changes: 1 addition & 1 deletion .nais/nais-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ spec:
- name: pen_fss_gateway_scope
value: api://dev-fss.pensjonselvbetjening.pensjon-selvbetjening-fss-gateway/.default
- name: OTEL_RESOURCE_ATTRIBUTES
value: "service.name=tjenestepensjon-simulering-fss,deployment.environment=q2"
value: "service.name=tjenestepensjon-simulering-fss,deployment.environment=q2,service.namespace=pensjon,nais.backend=elastic-apm;grafana-lgtm"
prometheus:
enabled: true
path: actuator/prometheus
Expand Down
2 changes: 1 addition & 1 deletion .nais/nais-prod-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
value: api://prod-fss.pensjonselvbetjening.pensjon-selvbetjening-fss-gateway/.default
# TODO fjern når nais får på plass at vi kan sette environment selv
- name: OTEL_RESOURCE_ATTRIBUTES
value: "service.name=tjenestepensjon-simulering-gcp,deployment.environment=p"
value: "service.name=tjenestepensjon-simulering-gcp,deployment.environment=p,service.namespace=pensjon,nais.backend=grafana-lgtm"
prometheus:
enabled: true
path: actuator/prometheus
Expand Down
2 changes: 1 addition & 1 deletion .nais/nais-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ spec:
- name: pen_fss_gateway_scope
value: api://prod-fss.pensjonselvbetjening.pensjon-selvbetjening-fss-gateway/.default
- name: OTEL_RESOURCE_ATTRIBUTES
value: "service.name=tjenestepensjon-simulering-fss,deployment.environment=p"
value: "service.name=tjenestepensjon-simulering-fss,deployment.environment=p,service.namespace=pensjon,nais.backend=elastic-apm;grafana-lgtm"
prometheus:
enabled: true
path: actuator/prometheus
Expand Down

0 comments on commit f73d46b

Please sign in to comment.