# Reading prometheus data chunks using python/go

**URL:** <https://discuss.prometheus.io/t/reading-prometheus-data-chunks-using-python-go/1429>\
**Category:** General Help/Support\
**Created:** [February 2, 2023, 7:29pm UTC](https://discuss.prometheus.io/t/reading-prometheus-data-chunks-using-python-go/1429 "2023-02-02T19:29:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![puneet336](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@puneet336](https://discuss.prometheus.io/u/puneet336)\
**Post date:** [February 2, 2023, 7:29pm UTC](https://discuss.prometheus.io/t/reading-prometheus-data-chunks-using-python-go/1429/1 "2023-02-02T19:29:28Z")

</div>

Hi ,  
I have some old prometheus data , and as soon as i point the prometheus server to the old data (using storage.tsdb.path) , prometheus start fails and i see error messages which indicate failure of scrape, rule, notifier managers and i get opening storage failed error.

Is it possible to read the raw data files / chunks of prometheus? (example - /data/prometheus/01GMFBC,…0/chunks/000001)  
Could you please point me to any resource which can help me to do that using python/GO Api? any other command is also fine.

Please do let me know if i can provide any further information from my end.

---

<div class="post-metadata">

**Author:** ![rajdevworks](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/rajdevworks/32/917_2.png) [@rajdevworks](https://discuss.prometheus.io/u/rajdevworks)\
**Post date:** [February 23, 2024, 3:30pm UTC](https://discuss.prometheus.io/t/reading-prometheus-data-chunks-using-python-go/1429/2 "2024-02-23T15:30:12Z")

</div>

I’m also interested to know about this.
