prorm API Reference
    Preparing search index...

    Interface PrometheusStoreOptions

    Connection options for PrometheusStore.

    interface PrometheusStoreOptions {
        baseURL?: string;
        client?: PrometheusHttpClient;
        headers?: Record<string, string>;
    }
    Index
    baseURL?: string

    Base URL of the Prometheus server. Defaults to http://localhost:9090.

    client?: PrometheusHttpClient

    Optional pre-built HTTP client. When provided it is used verbatim and baseURL is ignored; otherwise an internal fetch-based client is built against baseURL on connect().

    headers?: Record<string, string>

    Extra HTTP headers sent with every internal-client request.