Skip to content

Commit

Permalink
Merge pull request #143 from navikt/otel
Browse files Browse the repository at this point in the history
otel - removing deprecated deployment.environment.
  • Loading branch information
eirikmol authored Sep 5, 2024
2 parents f56a7de + fbb4090 commit 1a448c6
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,service.namespace=pensjonskalkulator,nais.backend=grafana-lgtm"
value: "service.name=tjenestepensjon-simulering-gcp,deployment.environment.name=q2,service.namespace=pensjonskalkulator,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,service.namespace=pensjonskalkulator,nais.backend=elastic-apm;grafana-lgtm"
value: "service.name=tjenestepensjon-simulering-fss,deployment.environment.name=q2,service.namespace=pensjonskalkulator,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,service.namespace=pensjonskalkulator,nais.backend=grafana-lgtm"
value: "service.name=tjenestepensjon-simulering-gcp,deployment.environment.name=p,service.namespace=pensjonskalkulator,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,service.namespace=pensjonskalkulator,nais.backend=elastic-apm;grafana-lgtm"
value: "service.name=tjenestepensjon-simulering-fss,deployment.environment.name=p,service.namespace=pensjonskalkulator,nais.backend=elastic-apm;grafana-lgtm"
prometheus:
enabled: true
path: actuator/prometheus
Expand Down

0 comments on commit 1a448c6

Please sign in to comment.