Commit Graph

264 Commits (156a23d06d88998cb48345ab32e95184c81077c3)

Author SHA1 Message Date
Bryan Boreham 9bc6d7a7db Update package scrape tests for new labels.Labels type
2 years ago
Bryan Boreham 91254fb187 Update package scrape for new labels.Labels type
2 years ago
Bryan Boreham 3c7de69059 storage: allow re-use of iterators
2 years ago
Xiaochao Dong (@damnever) 9979024a30 Report error if the series contains invalid metric names or labels during scrape
2 years ago
Björn Rabenstein a61c4b266a
scrape: Fix accept header, now for real (#11552)
2 years ago
Björn Rabenstein 54ce07e9a0
scrape: Fix accept header (#11542)
2 years ago
Ganesh Vernekar 3cbf87b83d
Enable protobuf negotiation only when histograms are enabled
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Bryan Boreham 4927e13537 scrape tests: undo EmptyLabels change
2 years ago
Bryan Boreham 14780c3b4e scrape: in tests use labels.FromStrings
2 years ago
Bogdan Drutu 3cde9287a6
scrape: remove unused member from cacheEntry (#11281)
2 years ago
Bogdan Drutu f736a9e953
scrape: remove duplicate mutex unlock (#11282)
2 years ago
Bogdan Drutu c8cfe5c25d
scrape: remove unused argument in newScrapeLoop (#11283)
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
Paschalis Tsilias 5a8e202f94
Append metadata to the WAL in the scrape loop (#10312)
2 years ago
Marc Tudurí f7df3b86ba
histograms: parse float histograms from proto definition (#11149)
2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147)
2 years ago
beorn7 c9fd3c235d Merge branch 'main' into sparsehistogram
2 years ago
Levi Harrison d61459d826
`no-default-scrape-port` feature flag (#9523)
2 years ago
Paschalis Tsilias d1122e0743
Introduce TSDB changes for appending metadata to the WAL (#10972)
2 years ago
beorn7 28f028e938 Merge branch 'main' into sparsehistogram
2 years ago
Julien Pivotto 90583c8906
TestScrapeLoopCache: Display content of the appender (#10937)
2 years ago
Xiaonan Shen 0c3abdc26d
Keep relabeled scrape interval and timeout on reloads (#10916)
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
3 years ago
Alban Hurtaud 41630b8e88
Add hidden flag to configure discovery loop interval (#10634)
3 years ago
beorn7 3bc711e333 Merge branch 'main' into sparsehistogram
3 years ago
Goutham Veeramachaneni 2381d7be57
Send target and metadata cache in context (again) (#10636)
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
Julien Pivotto 685ce9964d
Merge pull request #10599 from prometheus/release-2.35
3 years ago
Goutham Veeramachaneni ec3d02019e
Pass the correct context to staleness Appender (#10588)
3 years ago
Julien Pivotto db8c550570
Revoke storing target and metadata cache in context. (#10590)
3 years ago
Jayapriya Pai 580e852f10 scrape: Update error message for label limits
3 years ago
beorn7 7ee1836ef5 Merge branch 'main' into sparsehistogram
3 years ago
Robert Fratto 44a5e705be
discovery: Expose custom HTTP client options to discoverers (#10462)
3 years ago
Goutham Veeramachaneni 4d8bbfd416
Add target to context (#10473)
3 years ago
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
3 years ago
Alvin Lin 8b5eb562b1 Re-generate test cert to fix test_windows test failures
3 years ago
Goutham Veeramachaneni c4f8020dca
Embed MetadaStore in scrape context (#10450)
3 years ago
Robert Fratto f0ec619eec
scrape: allow providing a custom Dialer for scraping (#10415)
3 years ago
Jayapriya Pai edfe657b54
scrape: Fix label_limits cache usage (#10370)
3 years ago
Julien Pivotto f695df843f Improve content-type error handling
3 years ago
Matheus Pimenta 8d8ce641a4
error for invalid media type should not be completely swallowed (#10186)
3 years ago
Jonatan Ivanov b6df3b6f67
Prefer 1.0.0 in the accept header for application/openmetrics-text (#9431)
3 years ago
beorn7 86cc83b13c storage: iterator fixes after merge
3 years ago
beorn7 64c7bd2b08 Merge branch 'main' into sparsehistogram
3 years ago
Julius Volz fa552b98bb
Merge pull request #9996 from roidelapluie/fixreportlimit
3 years ago
Julien Pivotto 67a64ee092
Remove check against cfg so interval/ timeout are always set (#10023) (#10031)
3 years ago
Julien Pivotto e94a0b28e1 Append reporting metrics without limit
3 years ago
Björn Rabenstein 7e42acd3b1
tsdb: Rework iterators (#9877)
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
beorn7 4c28d9fac7 Move to histogram.Histogram pointers
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536)
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Darshan Chaudhary a7e554b158
add check service-discovery command (#8970)
3 years ago
DrAuYueng 69e309d202
Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for (#9343)
3 years ago
Furkan Türkal a6e6011d55
Add scrape_body_size_bytes metric (#9569)
3 years ago
Levi Harrison 5d409b0637
Remove `interval` and `timeout` parameters (#9578)
3 years ago
Julien Pivotto b0c98e01c8
Include scrape labels in the hash (#9551)
3 years ago
beorn7 a9008f5423 Merge branch 'main' into sparsehistogram
3 years ago
beorn7 b8d953a5a0 scrape: Avoid creating a label map during conflict resolution
3 years ago
Shirley Leu c890ea407f
Resolve conflicts between multiple exported label prefixes (#9479)
3 years ago
beorn7 7a8bb8222c Style cleanup of all the changes in sparsehistogram so far
3 years ago
beorn7 fd5ea4e0b5 Merge branch 'main' into sparsehistogram
3 years ago
Julien Pivotto 63b3e4e5ec
Enable HTTP2 again (#9398)
3 years ago
Robert Fratto daf2887fd4 expose scrape.userAgentHeader like remote.UserAgent
3 years ago
Julien Pivotto 48a101be1b
Allow to tune the scrape tolerance (#9283)
3 years ago
Bryan Boreham 92a3eeac55
Create less garbage when parsing metrics (#9299)
3 years ago
Łukasz Mierzwa f0a26266c0 Add scrape_sample_limit metric
3 years ago
SuperQ 31f4108758
Add scrape_timeout_seconds metric
3 years ago
Levi Harrison 70f597b033
Configure Scrape Interval and Timeout Via Relabeling (#8911)
3 years ago
Ganesh Vernekar 8b70e87ab9
Merge remote-tracking branch 'upstream/main' into sparse-refactor
3 years ago
Arunprasad Rajkumar 5527e26efc
scrape: fix 'target_limit exceeded error' when reloading conf with 0
3 years ago
austin ce 5bdfba1d20
Extract and export GetFQDN()
3 years ago
Naka Masato a1c1313b3c
fix typo in comment for scrape manager (#9094)
3 years ago
beorn7 5de2df752f Hacky implementation of protobuf parsing
3 years ago
Ganesh Vernekar 04ad56d9b8
Append sparse histograms into the Head block (#9013)
3 years ago
Ganesh Vernekar 64bea6999e
HistogramAppender interface for sparse histograms (#9007)
3 years ago
Julius Volz 9d495afd2c Remove trailing zeros in scrape timeout header
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
hanjm 1df05bfd49 Add body_size_limit to prevent bad targets response large body cause Prometheus server OOM (#8827)
4 years ago
Levi Harrison 2826fbeeb7
SD: Add target creation failure counter and change failure handling (#8786)
4 years ago
Callum Styan 8fd73b1d28
Add Exemplar Remote Write support (#8296)
4 years ago
Damien Grisonnet b50f9c1c84
Add label scrape limits (#8777)
4 years ago
Marco Pracucci 4da5c25ea4
Upgrade prometheus/common to v0.21.0
4 years ago
Julien Pivotto e14176756f
Merge pull request #8601 from dgl/fix-8243
4 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
4 years ago
David Leadbeater 21a282fabe Ensure that timestamp comparison uses wall clock time
4 years ago
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489)
4 years ago
gotjosh 4eca4dffb8
Allow metric metadata to be propagated via Remote Write. (#6815)
4 years ago
Brian Brazil ebe0da7a72
Protect sp.loops from concurrent access. (#8176)
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Brian Brazil 3f8e51738c
More granular locking for scrapeLoop. (#8104)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Julien Pivotto be5ba1a62d Fix wordings
4 years ago
Julien Pivotto 671f7c66e5 Adjust comment
4 years ago
Julien Pivotto 627ff84599 Adjust flag
4 years ago
Julien Pivotto 536dfb6234 Add an experimental, hidden flag
4 years ago
Julien Pivotto b90c7a55da Simplify logic
4 years ago