Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.
This repository was archived by the owner on May 14, 2025. It is now read-only.

New Prometheus RSocket Proxy Properties should be forwarded from server to task applications #5856

Open
@klopfdreh

Description

@klopfdreh

Description:
When we tested the Prometheus RSocket Proxy functionality of SCDF we saw that the following properties are forwarded / created from SCDF:

management.prometheus.metrics.export.*
management.metrics.export.prometheus.*

With 2.0.0-M1 of Prometheus RSocket Proxy however there are new properties which also should be forwarded to all task applications if definied in the server yml:

micrometer.prometheus.rsocket.*

See: https://github.com/micrometer-metrics/prometheus-rsocket-proxy/blob/6cd90c97655763f3641ed1b0106e4a79a6b2b0e9/starter-spring/src/main/java/io/micrometer/prometheus/rsocket/autoconfigure/PrometheusRSocketClientProperties.java#L28

Release versions:
2.11.x

Custom apps:
N/A

Steps to reproduce:
Just start a task application with prometheus rsocket proxy client via a SCDF server which defines the new properties

Screenshots:
N/A

Additional context:
Workaround: Create a config map which is mounted into all task applications via platform.kubernetes.accounts.default.* and define the following env vars:

MICROMETER_PROMETHEUS_RSOCKET_ENABLED: "true"
MICROMETER_PROMETHEUS_RSOCKET_HOST: "myhostname"
MICROMETER_PROMETHEUS_RSOCKET_PORT: "7001"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions