Skip to content

Prometheus shows all APIs as DOWN when starting the APIs from the IDE while running the infrastructure in containers  #8

@ershadnozari

Description

@ershadnozari

I successfully start the infrastructure related containers using the command docker-compose -f .\infrastructure.yml up -d. I then configure Visual Studio to start all APIs using the "Multiple startup projects" option . However, when I navigate to Prometheus http://localhost:9090/targets I see that all APIs have status DOWN:

image

Is this due to the fact that the APIs are running outside the docker context? If so, is there a way to run infrastructure in container while the APIs are started from the IDE?

Thanks.

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