cortex icon indicating copy to clipboard operation
cortex copied to clipboard

Is that possible to query for the “raw” data within a time range with exact ingested time stamps without considering arbitrary step for range queries

Open venkatchinmay opened this issue 3 years ago • 3 comments

feature request Hi, I would like to retrieve data AS it was collected and recorded by cortex. I do not want to use an arbitrary step for range queries.

solution I need a “raw” data within a time range with exact ingested time stamps

@pracucci - could you please help If it is possible to get, so how ? if it is not possible why ? and suggest any alternative

venkatchinmay avatar Mar 30 '22 08:03 venkatchinmay

You could consider using the remote read API POST <prometheus-http-prefix>/api/v1/read to read the raw samples.

pracucci avatar Mar 30 '22 10:03 pracucci

thanks @pracucci for quick reply https://cortexmetrics.io/docs/api/#remote-read does it supported for cortex directly or did we need to add any additional configuration
In this issue https://github.com/cortexproject/cortex/issues/3714 @pracucci you mentioned that it is not supported for cortex we are not ingesting data to cortex from Prometheus. we are receiving data from external resources and we are processing through kafka and storing in cortex we did not have any external url exposed to catch data from the external resources @pracucci could you please share your inputs on this

venkatchinmay avatar Mar 30 '22 12:03 venkatchinmay

This issue has been automatically marked as stale because it has not had any activity in the past 60 days. It will be closed in 15 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 12 '22 01:08 stale[bot]