-
Couldn't load subscription status.
- Fork 165
Open
Labels
Description
first things first: I love your work, thanks.
now to the feature request:
We would like to filter the metrics based on various tags we attached to the AWS ECS TaskDefinition or the docker containers themselves. An example would be the environment name for example (we run several near-identical test environments in one test account and need to distinguish statistics between them).
I envision the target to look similar to this:
- targets:
- 123.123.123.123:12345
labels:
task_arn: arn:aws:ecs:re-gion-1:1234567890:task/SomeTaskName/876535678765
task_name: SomeTaskName
job: OurJobName
task_revision: "2"
task_group: service:AwesomeServiceName-763456784
cluster_arn: arn:aws:ecs:re-gion-1:1234567890:cluster/ClusterName
container_name: main
container_arn: arn:aws:ecs:re-gion-1:1234567890:container/09876543-12345678-09876543-123456789
docker_image: image-name:v0.12.1
docker_label_environment: test1
docker_label_somethingelse: anothervalue
task_tag_tagkey: tagvalue
task_tag_environment: test1
__metrics_path__: /metrics
duganth-va, a0s and sidneiweberRudd-O and AnakinPt