2025-12-02 17:38:12 +01:00
2025-12-02 14:44:52 +01:00
2025-12-02 14:44:52 +01:00
2025-12-02 15:46:23 +01:00
2025-12-02 14:44:52 +01:00
2025-12-02 14:44:52 +01:00
2025-12-02 14:44:52 +01:00
2025-12-02 14:44:52 +01:00
2025-12-02 14:44:52 +01:00
2025-12-02 16:47:50 +01:00
2025-12-02 17:38:12 +01:00

README

Build Status

Purpose

This image is entirely based on the PostgreSQL Prometheus Adapter from Chrunchydata. From their website:

PostgreSQL Prometheus Adapter is a remote storage adapter designed to utilize PostgreSQL 12 native partitioning enhancements to efficiently store Prometheus time series data in a PostgreSQL database.

The PostgreSQL Prometheus Adapter design is based on partitioning and threads. Incoming data is processed by one or more threads and one or more writer threads will store data in PostgreSQL daily or hourly partitions. Partitions will be auto-created by the adapter based on the timestamp of incoming data.

However we did a few changes to adjust the following:

  • the entire build flow is now based on the Dockerfile, no external make step. This allows using a Jenkins CI/CD pipeline for both build and placing the image in a package registry, so the image can be used in Kubernetes via CI/CD. All manual steps are removed.
  • we moved away from CentOS 7 as base to Alpine, which creates a much smaller image footprint while providing the very same functionality.

Usage

Description
Prometheus Postgresql adapter based on crunchydata's source
Readme Apache-2.0 78 KiB
Languages
Go 88.9%
Shell 5.3%
Dockerfile 3.5%
Makefile 2.3%