8000 Injecting Prometheus labels do not work · Issue #843 · trickstercache/trickster · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Injecting Prometheus labels do not work #843
Open
@tonychoe

Description

@tonychoe

Hello Tricksters!

Thanks for releasing the Beta 3 which I have been testing.

One issue I am facing is with injecting Prometheus labels per this guide:
https://github.com/trickstercache/trickster/blob/main/docs/prometheus.md

I couldn't make the labels attached to the returning time series.

  • Either the case of single backend or multiple backends via ALB w/ TSM.
  • Time series I am querying from these backends are unique, so I don't need to add the Prom label by using Trickster, but I was testing the feature.

Please advice.

Trickster configuration (click to expand)

Here's a copy of 5180 one of backend config

  us-phoenix-1:
    healthcheck:
      expected_codes:
      - 200
      failure_threshold: 3
      headers:
        XXX
      host: host.us-phoenix-1.domain.oraclecloud.com.
      interval: 5000ms
      path: /prometheus/api/v1/status/buildinfo
      recovery_threshold: 3
      scheme: https
      timeout: 1000ms
      verb: GET
    origin_url: https://host.us-phoenix-1.domain.oraclecloud.com.
    prometheus:
      labels:
        trickster_label: us-phoenix-1
    provider: prometheus
    req_rewriter_name: oc1_authentication

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

      0