Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: prometheus/client_java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: gecube/client_java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: api-client-module
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 151 files changed
  • 1 contributor

Commits on Jul 18, 2026

  1. feat: add prometheus-metrics-api-client, a typed Prometheus HTTP API …

    …query client
    
    A typed Java client for the Prometheus querying API, the counterpart of
    client_golang/api/prometheus/v1, as proposed in #2306. Java 8, no new
    runtime dependencies: built-in HttpURLConnection plus an internal JSON
    parser, depending only on prometheus-metrics-model, mirroring the
    approach of prometheus-metrics-exporter-pushgateway.
    
    Covers query, query_range, series, labels, label values, metadata,
    exemplars, targets, rules, alerts, alertmanagers, the status endpoints,
    format_query, and the TSDB admin endpoints, with native histogram
    support. Includes unit tests against recorded fixtures from Prometheus,
    VictoriaMetrics, Mimir, Cortex, and Thanos, wire-level tests, and a
    testcontainers integration-test module, plus documentation and BOM
    registration.
    
    Signed-off-by: George Gaál <gb12335@gmail.com>
    gecube committed Jul 18, 2026
    Configuration menu
    Copy the full SHA
    39eaa5a View commit details
    Browse the repository at this point in the history
Loading