You may want to look at TimescaleDB, which is a general-purpose time-series
database built on top of PostgreSQL.

It is also possible to use TimescaleDB as long-term storage for Prometheus
metrics, as is explained in this design document:

https://docs.google.com/document/d/1e3mAN3eHUpQ2JHDvnmkmn_9rFyqyYisIgdtgd3D1MHA/edit#heading=h.hv9q074m6qpz


On Sun, Jun 14, 2020 at 12:49 AM Stuart Clark <[email protected]>
wrote:

> On 14/06/2020 01:05, Aviral Srivastava wrote:
> > Prometheus stores time-series data by default. In this default model,
> > the x-axis is time and the y-axis is the value.
> >
> > I want x-axis to be a number(1,2,3,....) and y-axis to be of some
> > value(1000, 2000, 3000, ....).
> >
> > How do I store that in Prometheus?
>
>
> Prometheus isn't a general purpose database system. Datapoints are
> scraped using the Prometheus metrics format from the targets you
> specify, and then are stored in the TSDB against that scrape time.
>
> It sounds like you would want a standard database like MySQL or PostgreSQL.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAHKSbB-8%3DHvcMXQ9y%2BaVR-GT5Oxf1jkCUj0Joc4Cef45SevGTA%40mail.gmail.com.

Reply via email to