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