Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeWriteRequest ¶
func DecodeWriteRequest(r io.Reader) (*prompb.WriteRequest, error)
DecodeWriteRequest from an io.Reader into a prompb.WriteRequest, handling snappy decompression.
func ErrBadData ¶
func ErrCanceled ¶
func ErrInternal ¶
func SuccessResponse ¶
Types ¶
type ExemplarServer ¶
type ExemplarServer struct { Mux *chi.Mux // contains filtered or unexported fields }
func NewExemplarServer ¶
func NewExemplarServer(logger log.Logger, reg *prometheus.Registry, store storage.ExemplarStore) *ExemplarServer
func (*ExemplarServer) Exemplars ¶
func (e *ExemplarServer) Exemplars(r *exemplarspb.ExemplarsRequest, s exemplarspb.Exemplars_ExemplarsServer) error
func (*ExemplarServer) QueryExemplars ¶
func (e *ExemplarServer) QueryExemplars(w http.ResponseWriter, r *http.Request)
func (*ExemplarServer) RemoteWrite ¶
func (e *ExemplarServer) RemoteWrite(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.