awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
prometheus avatar

prometheus/client_golang

0
View on GitHub↗
5,999 stele·1,287 fork-uri·Go·Apache-2.0·3 vizualizăripkg.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.

Istoric stele

Graficul istoricului de stele pentru prometheus/client_golangGraficul istoricului de stele pentru prometheus/client_golang

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face 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.

Care sunt principalele funcționalități ale prometheus/client_golang?

Principalele funcționalități ale prometheus/client_golang sunt: Instrumentation Libraries, Label-Based Multi-Dimensionality, Safe Metric Accumulation, Custom Metric Registries, Application Metric Tracking, Go Instrumentation, Custom Metric Collectors, Prometheus-Formatted HTTP Endpoints.

Care sunt câteva alternative open-source pentru prometheus/client_golang?

Alternativele open-source pentru prometheus/client_golang includ: 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…

Alternative open-source pentru Client Golang

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Client Golang.
  • prometheus/client_pythonAvatar prometheus

    prometheus/client_python

    4,333Vezi pe GitHub↗

    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
    Vezi pe GitHub↗4,333
  • prometheus-community/windows_exporterAvatar prometheus-community

    prometheus-community/windows_exporter

    3,465Vezi pe GitHub↗

    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
    Vezi pe GitHub↗3,465
  • prometheus/blackbox_exporterAvatar prometheus

    prometheus/blackbox_exporter

    5,742Vezi pe GitHub↗

    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
    Vezi pe GitHub↗5,742
  • airtai/faststreamAvatar airtai

    airtai/faststream

    5,234Vezi pe GitHub↗

    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
    Vezi pe GitHub↗5,234
  • Vezi toate cele 30 alternative pentru Client Golang→