Skip to content

Commit 32ec3f2

Browse files
authored
Merge pull request #27 from hossain-rayhan/ecs-metrics
ecs-metrics-receiver: update OT config and image version
2 parents 57d717c + 9f72687 commit 32ec3f2

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

terraform/template/otconfig/ecscontainermetric_otconfig.tpl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
receivers:
22
awsecscontainermetrics:
3+
processors:
4+
filter:
5+
metrics:
6+
include:
7+
match_type: strict
8+
metric_names:
9+
- ecs.task.memory.utilized
10+
metricstransform:
11+
transforms:
12+
- metric_name: ecs.task.memory.utilized
13+
action: update
14+
new_name: ecs.task.memory.utilized_${testing_id}
315
exporters:
416
logging:
517
loglevel: debug
@@ -11,4 +23,5 @@ service:
1123
pipelines:
1224
metrics:
1325
receivers: [awsecscontainermetrics]
26+
processors: [filter, metricstransform]
1427
exporters: [logging, awsemf]

terraform/testing-suites/containermetric-ecs.tfvars

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,4 @@ validation_config="ecscontainer-metric-validation.yml"
77
# set data emitter image to empty, which helps the framework to skip deploying data emitter
88
data_emitter_image=""
99

10-
# todo this is config needs to be removed once we have statsd built in the aoc image
11-
aoc_image_repo="josephwy/awscollector"
12-
13-
# todo this version needs to be removed, instead version should be received from workflow
14-
aoc_version="v0.1.15"
15-
1610
sample_app_callable = false

0 commit comments

Comments
 (0)