oracledb_exporter icon indicating copy to clipboard operation
oracledb_exporter copied to clipboard

Multi target broken after release 0.5.0

Open xafer337 opened this issue 1 year ago • 3 comments

Hi!

I was unsuccessfully trying to use /scrape endpoint in the last release of the exporter (0.5.1).

Since version 0.5.0 it is not possible to send a http request to the endpoint /scrape?target=foo:1521 where target is set to the DSN of the Oracle instance to scrape metrics from.

Looking at the code I saw that changes made on #308 removed that feature (done in #234) even though the README says the feature is still there.

Is there any chance that this feature will be included again?

xafer337 avatar Jun 15 '23 09:06 xafer337

Hi @xafer337

We have done some change in the 0.5 and I think we have broke this feature. Can you give me an example of Prometheus configuration + exporter configuration that was working in 0.4 and not in 0.5 anymore ?

Then I will fix this capacity.

Yannig avatar Jun 17 '23 10:06 Yannig

  - job_name: "oracledb"
    metrics_path: /scrape
    relabel_configs:
      - source_labels: [__address__]
        target_label: __param_target
      - source_labels: [__param_target]
        target_label: instance
      - target_label: __address__
        replacement: localhost:9161
    static_configs:
      - targets:
          - oracle://10.142.1.22:1521

lscool66 avatar Oct 16 '23 06:10 lscool66

Can this be finally fixed? it is a year since it's missing

lucian-vanghele avatar May 30 '24 13:05 lucian-vanghele