prometheus/scrape
Bryan Boreham d9e5748a27
[REFACTOR] Scraping: Remove unnecessary yolostring calls (#16927)
Go will not allocate when reading from a map with a key cast from []byte to string.

Also remove some yoloString calls in package `textparse` - call a more suitable library function.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2025-07-28 14:54:32 +01:00
..
testdata Include test CA text info (#14699) 2024-08-20 19:41:02 +02:00
clientprotobuf.go chore: enable gci linter (#16245) 2025-03-22 15:46:13 +00:00
helpers_test.go chore: fix some minor issues in comments 2025-07-16 11:24:42 +01:00
manager_test.go chore: enable gci linter (#16245) 2025-03-22 15:46:13 +00:00
manager.go Discovery.Manager: close sync ch after sender() is stopped (#14465) 2025-07-11 17:15:01 +01:00
metrics.go Scraping: add metric for symbol table size 2024-07-05 10:16:22 +01:00
scrape_test.go scraping: Create a span and send the traceparent header during scrape requests (#16425) 2025-07-15 09:37:24 +02:00
scrape.go [REFACTOR] Scraping: Remove unnecessary yolostring calls (#16927) 2025-07-28 14:54:32 +01:00
target_test.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00
target.go Fix linting issues found by golangci-lint v2.0.2 (#16368) 2025-05-03 19:05:13 +02:00