awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
prometheus avatar

prometheus/client_golang

0
View on GitHub↗
5,999 Stars·1,287 Forks·Go·Apache-2.0·2 Aufrufepkg.go.dev/github.com/prometheus/client_golang↗

Client Golang

Prometheus client_golang is the official Go client library for instrumenting applications with Prometheus metrics. It provides a metric registry that manages and exposes custom application metrics like counters, gauges, histograms, and summaries in Prometheus format for HTTP scraping by a Prometheus server. The library also includes a remote read client that sends PromQL queries to a Prometheus server over HTTP and retrieves time series data programmatically.

The library supports creating separate registries to isolate metric namespaces and control which metrics are exposed per scrape endpoint. It uses atomic operations and mutexes to allow concurrent metric updates from multiple goroutines without data races, and exposes a standard net/http handler that serializes registered metrics into Prometheus text format on each scrape request. Dynamic label sets per metric family enable multi-dimensional time series through label-value pairs, while metrics are registered by implementing a Collector interface that returns descriptor and channel pairs for scrape-time collection.

Additional capabilities include sending PromQL queries to a remote Prometheus server using the HTTP API and parsing the JSON response into Go data structures, computing streaming quantiles over a sliding time window using a configurable reservoir sampling algorithm, and pre-allocating histogram buckets at registration time with atomic counter increments for efficient latency recording.

Features

  • Instrumentation Libraries - Official Go instrumentation library that registers and exposes application metrics in Prometheus format for HTTP scraping.
  • Label-Based Multi-Dimensionality - Enables multi-dimensional time series through dynamic label-value pairs on metric families.
  • Safe Metric Accumulation - Ships atomic and mutex-based mechanisms for concurrent metric updates in Go applications.
  • Custom Metric Registries - Provides isolated metric registries to control which metrics are exposed per scrape endpoint.
  • Application Metric Tracking - Registers counters, gauges, histograms, and summaries for Prometheus server scraping.
  • Go Instrumentation - Instruments Go applications with Prometheus metrics for tracking performance, errors, and resource usage.
  • Custom Metric Collectors - Registers metrics by implementing a Collector interface that returns descriptor and channel pairs for scrape-time collection.
  • Prometheus-Formatted HTTP Endpoints - Exposes a standard HTTP handler that serializes registered metrics into Prometheus text format.
  • Prometheus-Based Metric Exporters - Exposes custom application metrics like counters, gauges, and histograms for Prometheus server scraping.
  • Metric Registries - Manages and exposes custom application metrics for collection by a Prometheus server.
  • HTTP API Clients - Provides a remote read client that sends PromQL queries over HTTP and parses JSON responses.
  • HTTP Query Clients - Sends PromQL queries to a Prometheus server from Go code to retrieve time series data programmatically.
  • PromQL Queries - Sends PromQL queries to a Prometheus server over HTTP and returns time series for programmatic use.
  • Pre-Allocated Bucketing - Pre-allocates histogram buckets at registration time with atomic counter increments for efficient latency recording.
  • Prometheus Remote Read Endpoints - Sends PromQL queries to a Prometheus server over HTTP and retrieves time series data programmatically.
  • Time Series Quantile Tracking - Computes streaming quantiles over a sliding time window using a configurable reservoir sampling algorithm.

Star-Verlauf

Star-Verlauf für prometheus/client_golangStar-Verlauf für prometheus/client_golang

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Client Golang

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Client Golang.
  • prometheus/client_pythonAvatar von prometheus

    prometheus/client_python

    4,333Auf GitHub ansehen↗

    This is a Prometheus Python client library used for instrumenting Python applications. It provides the tools necessary to record counters, gauges, and histograms within a process to monitor application health and expose that data as a Prometheus exposition format provider. The library enables cloud native observability by allowing developers to define custom telemetry and track internal application events. It transforms internal application data into a standardized text format required by Prometheus scrapers for collection. The project covers a variety of monitoring and observability capabil

    Pythoninstrumentationmetricsprometheus
    Auf GitHub ansehen↗4,333
  • prometheus-community/windows_exporterAvatar von prometheus-community

    prometheus-community/windows_exporter

    3,465Auf GitHub ansehen↗

    The Windows Exporter is a service that collects system, performance, and hardware metrics from Windows servers and exposes them via a text-based HTTP endpoint for Prometheus to scrape. It functions as a system metrics collector and service monitor designed to provide observability across Windows environments. The project utilizes a modular collector design that gathers data through Windows Management Instrumentation, native performance counters, and registry keys. It also includes a text-file metrics importer that allows user-defined or third-party business metrics to be read from local plain

    Goprometheusprometheus-exporterwindows
    Auf GitHub ansehen↗3,465
  • prometheus/blackbox_exporterAvatar von prometheus

    prometheus/blackbox_exporter

    5,742Auf GitHub ansehen↗

    The Blackbox Exporter is a Prometheus-compatible probe that checks the availability and response correctness of external services over HTTP, HTTPS, DNS, TCP, ICMP, and gRPC. It exposes probe results as Prometheus metrics, including a probe_success indicator for each endpoint checked, making it a dedicated tool for blackbox monitoring of network services. The exporter uses a probe-module configuration system where reusable settings such as protocol, method, and IP version are defined as named YAML modules. These modules are assigned to target groups through Prometheus relabeling rules, which m

    Goblackbox-exportericmpprometheus
    Auf GitHub ansehen↗5,742
  • airtai/faststreamAvatar von airtai

    airtai/faststream

    5,234Auf GitHub ansehen↗

    FastStream is an asynchronous Python framework designed for building event-driven microservices. It provides a unified abstraction layer for interacting with various message brokers, enabling developers to manage event production and consumption through a consistent interface while maintaining access to native provider-specific features. The framework centers on a decorator-based routing model that binds application logic directly to broker topics, supported by a built-in dependency injection container that resolves resources at runtime. The framework distinguishes itself through its deep int

    Python
    Auf GitHub ansehen↗5,234
Alle 30 Alternativen zu Client Golang anzeigen→

Häufig gestellte Fragen

Was macht prometheus/client_golang?

Prometheus client_golang is the official Go client library for instrumenting applications with Prometheus metrics. It provides a metric registry that manages and exposes custom application metrics like counters, gauges, histograms, and summaries in Prometheus format for HTTP scraping by a Prometheus server. The library also includes a remote read client that sends PromQL queries to a Prometheus server over HTTP and retrieves time series data programmatically.

Was sind die Hauptfunktionen von prometheus/client_golang?

Die Hauptfunktionen von prometheus/client_golang sind: Instrumentation Libraries, Label-Based Multi-Dimensionality, Safe Metric Accumulation, Custom Metric Registries, Application Metric Tracking, Go Instrumentation, Custom Metric Collectors, Prometheus-Formatted HTTP Endpoints.

Welche Open-Source-Alternativen gibt es zu prometheus/client_golang?

Open-Source-Alternativen zu prometheus/client_golang sind unter anderem: prometheus/client_python — This is a Prometheus Python client library used for instrumenting Python applications. It provides the tools necessary… prometheus-community/windows_exporter — The Windows Exporter is a service that collects system, performance, and hardware metrics from Windows servers and… prometheus/blackbox_exporter — The Blackbox Exporter is a Prometheus-compatible probe that checks the availability and response correctness of… airtai/faststream — FastStream is an asynchronous Python framework designed for building event-driven microservices. It provides a unified… kubernetes/kube-state-metrics — kube-state-metrics is a Kubernetes metrics exporter that generates Prometheus-compatible metrics from the current… rcrowley/go-metrics — This library provides a toolkit for instrumenting Go applications with performance metrics, enabling the tracking of…