Package prometheus

Interface PrometheusRemote.ReadRequestOrBuilder

    • Method Detail

      • getQueriesCount

        int getQueriesCount()
        repeated .prometheus.Query queries = 1;
      • getAcceptedResponseTypesList

        List<PrometheusRemote.ReadRequest.ResponseType> getAcceptedResponseTypesList()
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
      • getAcceptedResponseTypesCount

        int getAcceptedResponseTypesCount()
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
      • getAcceptedResponseTypes

        PrometheusRemote.ReadRequest.ResponseType getAcceptedResponseTypes​(int index)
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
      • getAcceptedResponseTypesValueList

        List<Integer> getAcceptedResponseTypesValueList()
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
      • getAcceptedResponseTypesValue

        int getAcceptedResponseTypesValue​(int index)
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;