prometheus/scrape
Arthur Silva Sens 5082655392
Append Created Timestamps (#12733)
* Append created timestamps.

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

* Log when created timestamps are ignored

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

* Proposed changes to Append CT PR.

Changes:

* Changed textparse Parser interface for consistency and robustness.
* Changed CT interface to be more explicit and handle validation.
* Simplified test, change scrapeManager to allow testability.
* Added TODOs.

Signed-off-by: bwplotka <bwplotka@gmail.com>

* Updates.

Signed-off-by: bwplotka <bwplotka@gmail.com>

* Addressed comments.

Signed-off-by: bwplotka <bwplotka@gmail.com>

* Refactor head_appender test

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

* Fix linter issues

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

* Use model.Sample in head appender test

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

---------

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
Signed-off-by: bwplotka <bwplotka@gmail.com>
Co-authored-by: bwplotka <bwplotka@gmail.com>
2023-12-11 08:43:42 +00:00
..
testdata Re-generate test cert to fix test_windows test failures 2022-03-17 19:37:18 +01:00
clientprotobuf.go Update according to code review 2023-05-05 02:33:00 +08:00
helpers_test.go Append Created Timestamps (#12733) 2023-12-11 08:43:42 +00:00
manager.go Append Created Timestamps (#12733) 2023-12-11 08:43:42 +00:00
manager_test.go Append Created Timestamps (#12733) 2023-12-11 08:43:42 +00:00
metrics.go Scrape metrics can now be registered with a non-default registry. 2023-10-11 16:19:00 +01:00
scrape.go Append Created Timestamps (#12733) 2023-12-11 08:43:42 +00:00
scrape_test.go Append Created Timestamps (#12733) 2023-12-11 08:43:42 +00:00
target.go optimize the logic of break the loop of reducing resolution 2023-11-21 16:56:56 +08:00
target_test.go Enable reusing memory when converting between histogram types 2023-12-08 10:22:59 +01:00