{"repo":"jakthom/hercules","free":true,"listed":false,"github":"https://github.com/jakthom/hercules","clone":"git clone https://github.com/jakthom/hercules.git","description":"A DuckDB-powered Prometheus exporter","language":"Go","stars":55,"topics":["metrics","monitoring","observability","observability-data","prometheus","prometheus-exporter","prometheus-metrics","prometheus-utility","duckdb"],"license":"MIT","category":"analytics","readme_excerpt":"Hercules Write SQL. Get Prometheus Metrics. ⚡ Quickstart Launching Hercules in a Codespace is the easiest way to get started. A make run from inside your codespace will get things spinning. Sources Hercules generates Prometheus metrics by querying: - Local files (parquet, json, csv, xlsx, etc) - Object storage (GCS, S3, Azure Blob) - HTTP endpoints - Databases (PostgreSQL, MySQL, SQLite) - Data lakes (Iceberg, Delta) - Data warehouses (BigQuery) - Arrow IPC buffers Sources can be cached and periodically refreshed, or act as views to the underlying data. Metrics from multiple sources can be materialized using a single exporter. Metrics Definition Metric definitions are yml and use sql in a number of supported dialects to aggregate, enrich, and materialize metric values. Hercules supports Prometheus gauges, counters, summaries, and histograms. Enrichment Sources and metrics can be externally enriched , leading to more thorough , accurate (or is it precise?), properly-labeled metrics. Integrate, calculate, enrich, and label on the edge. Macros Metric definitions can be kept DRY using SQL macros. Macros are useful for: - Parsing log lines - Reading useragent strings - Schematizing unstructured data - Enriching results with third-party tooling - Tokenizing attributes Labels Hercules propagates global labels to all configured metrics. So you don't have to guess where a metric came from. Labels are propagated from configuration or sourced from environment variables. Packages Hercule","default_branch":null,"files":null,"tree":[],"storefront":"/r/jakthom","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jakthom/hercules/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}