Skip to content

Prometheus does not capture metrics from AWS Batch job tasks with aws_sd_config and role: ecs #17920

@scuba10steve

Description

@scuba10steve

What did you do?

Unsure if this is best captured as a bug report or feature request, for now because the documentation is not explicit enough, I'm considering this a bug.

Created a prometheus configuration with ECS Service Discovery, minimal example here:

  aws_sd_configs:
  - role: ecs
    region: us-east-1
    port: 8080

To scrape tasks from an ECS Cluster that is utilized by AWS Batch.

What did you expect to see?

Metrics being ingested.

What did you see instead? Under which circumstances?

No metrics are ingested

System information

No response

Prometheus version

Prometheus Version: 3.9.1

Prometheus configuration file

Alertmanager version


Alertmanager configuration file

Logs


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions