All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.openfga.sdk.telemetry.Histograms Maven / Gradle / Ivy

package dev.openfga.sdk.telemetry;

/**
 * The Histograms class represents a collection of predefined histograms for telemetry purposes.
 */
public class Histograms {
    /**
     * A histogram for measuring the total time (in milliseconds) it took for the request to complete, including the time it took to send the request and receive the response.
     */
    public static final Histogram REQUEST_DURATION = new Histogram(
            "fga-client.request.duration",
            "The total time (in milliseconds) it took for the request to complete, including the time it took to send the request and receive the response.");

    /**
     * A histogram for measuring the total time it took (in milliseconds) for the FGA server to process and evaluate the request.
     */
    public static final Histogram QUERY_DURATION = new Histogram(
            "fga-client.query.duration",
            "The total time it took (in milliseconds) for the FGA server to process and evaluate the request.");
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy