Skip to content

simpleclient_pushgateway with springboot how set instance with ip address #844

@liufengvling

Description

@liufengvling

by default pushgateway instance="", need to set grouping-key.instance?
so how to set grouping-key instance with current ip?

like this

management.metrics.export.prometheus.pushgateway.grouping-key.instance:${server.ipaddress}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions