prometheus/scrape
Julien Pivotto bd9129117e Target parameter labels should not be overridden by config params
The following configuration snippet calls
http://127.0.0.1:8000/?foo=value1 instead of
http://127.0.0.1:8000/?foo=value2.
This is incorrect, the labels of the target should be prefered.

```yaml
- job_name: local
  params:
    foo: [value1]
  static_configs:
    - targets: ['127.0.0.1:8000']
      labels:
        __param_foo: value2
```

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-05 12:10:11 +02:00
..
testdata Include test CA text info (#14699) 2024-08-20 19:41:02 +02:00
clientprotobuf.go lint: Revamp our linting rules, mostly around doc comments 2024-08-22 17:36:11 +02:00
helpers_test.go scrape tests: check NaN values directly 2024-02-08 19:30:20 +00:00
manager.go fix(discovery): make discovery manager notify consumers of dropped targets for still defined jobs 2024-08-28 17:39:02 +02:00
manager_test.go fix(discovery): prevent the manager from storing stale targetGroups 2024-08-30 14:39:31 +02:00
metrics.go Scraping: add metric for symbol table size 2024-07-05 10:16:22 +01:00
scrape.go fix: Properly put OM text p.CreatedTimestamp behind feature flag (#14809) (#14815) 2024-09-03 07:33:44 +01:00
scrape_test.go Target parameter labels should not be overridden by config params 2024-09-05 12:10:11 +02:00
target.go Target parameter labels should not be overridden by config params 2024-09-05 12:10:11 +02:00
target_test.go Merge branch 'main' into nhcb 2024-06-07 19:17:14 +08:00