Skip to content

Commit d73c40e

Browse files
committed
reverting pr changes
1 parent d2f0d15 commit d73c40e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

terraform/python/ec2/default/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ resource "null_resource" "main_service_setup" {
180180
export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=localhost:4317
181181
export OTEL_EXPORTER_OTLP_METRICS_INSECURE=true
182182
export OTEL_TRACES_SAMPLER=always_on
183-
export OTEL_RESOURCE_ATTRIBUTES="service.name=python-sample-application-${var.test_id},deployment.environment.name=custom_environment"
183+
export OTEL_RESOURCE_ATTRIBUTES="service.name=python-sample-application-${var.test_id},deployment.environment.name=ec2:default"
184184
export AWS_REGION='${var.aws_region}'
185185
python${var.language_version} manage.py migrate
186186
nohup opentelemetry-instrument python${var.language_version} manage.py runserver 0.0.0.0:8000 --noreload &

validator/src/main/resources/expected-data-template/python/ec2/default/aws-otel-custom-metrics.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
dimensions:
77
-
88
name: deployment.environment.name
9-
value: custom_environment
9+
value: ec2:default
1010
-
1111
name: aws.local.service
1212
value: {{serviceName}}
@@ -58,7 +58,7 @@
5858
dimensions:
5959
-
6060
name: deployment.environment.name
61-
value: custom_environment
61+
value: ec2:default
6262
-
6363
name: aws.local.service
6464
value: {{serviceName}}
@@ -110,7 +110,7 @@
110110
dimensions:
111111
-
112112
name: deployment.environment.name
113-
value: custom_environment
113+
value: ec2:default
114114
-
115115
name: aws.local.service
116116
value: {{serviceName}}

0 commit comments

Comments
 (0)