Skip to content

Instantly share code, notes, and snippets.

@prasadtakale
Last active December 18, 2024 09:20
Show Gist options
  • Save prasadtakale/94ff299634b847b38ac93c75f8c760dd to your computer and use it in GitHub Desktop.
Save prasadtakale/94ff299634b847b38ac93c75f8c760dd to your computer and use it in GitHub Desktop.
Feature InfluxDB Prometheus
Purpose High-performance time-series database (TSDB). Monitoring system with a built-in TSDB.
Data Model Time-series optimized (tags, fields, timestamps). Multi-dimensional with labels.
Collection Model **Push**: Data sent to InfluxDB. **Pull**: Prometheus scrapes metrics.
Query Language **InfluxQL** and **Flux** (complex queries). **PromQL** (designed for monitoring).
Scalability Requires enterprise tools for clustering. Scales horizontally with **Thanos**/**Cortex**.
Retention Configurable policies per database. Time-based retention, scraping-dependent.
Alerting External tools required (e.g., Grafana). Native alerting with **Alertmanager**.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment