io.prometheus.metrics.model.registry.PrometheusScrapeRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prometheus-metrics-model Show documentation
Show all versions of prometheus-metrics-model Show documentation
Data model for read-only immutable Prometheus metrics snapshots.
package io.prometheus.metrics.model.registry;
/**
* Infos extracted from the request received by the endpoint
*/
public interface PrometheusScrapeRequest {
/**
* Absolute path of the HTTP request.
*/
String getRequestPath();
/**
* See {@code jakarta.servlet.ServletRequest.getParameterValues(String name)}
*/
String[] getParameterValues(String name);
}