001package io.prometheus.metrics.model.registry;
002
003import io.prometheus.metrics.annotations.StableApi;
004import javax.annotation.Nullable;
005
006/** Infos extracted from the request received by the endpoint */
007@StableApi
008public interface PrometheusScrapeRequest {
009
010  /** Absolute path of the HTTP request. */
011  String getRequestPath();
012
013  /** See {@code jakarta.servlet.ServletRequest.getParameterValues(String name)} */
014  @Nullable
015  String[] getParameterValues(String name);
016}