# Functions
New creates a new qan service API client.
New creates a new qan service API client with basic auth credentials.
New creates a new qan service API client with a bearer token for authentication.
NewExplainFingerprintByQueryIDDefault creates a ExplainFingerprintByQueryIDDefault with default headers values.
NewExplainFingerprintByQueryIDOK creates a ExplainFingerprintByQueryIDOK with default headers values.
NewExplainFingerprintByQueryIDParams creates a new ExplainFingerprintByQueryIDParams object, with the default timeout for this client.
NewExplainFingerprintByQueryIDParamsWithContext creates a new ExplainFingerprintByQueryIDParams object with the ability to set a context for a request.
NewExplainFingerprintByQueryIDParamsWithHTTPClient creates a new ExplainFingerprintByQueryIDParams object with the ability to set a custom HTTPClient for a request.
NewExplainFingerprintByQueryIDParamsWithTimeout creates a new ExplainFingerprintByQueryIDParams object with the ability to set a timeout on a request.
NewGetFilteredMetricsNamesDefault creates a GetFilteredMetricsNamesDefault with default headers values.
NewGetFilteredMetricsNamesOK creates a GetFilteredMetricsNamesOK with default headers values.
NewGetFilteredMetricsNamesParams creates a new GetFilteredMetricsNamesParams object, with the default timeout for this client.
NewGetFilteredMetricsNamesParamsWithContext creates a new GetFilteredMetricsNamesParams object with the ability to set a context for a request.
NewGetFilteredMetricsNamesParamsWithHTTPClient creates a new GetFilteredMetricsNamesParams object with the ability to set a custom HTTPClient for a request.
NewGetFilteredMetricsNamesParamsWithTimeout creates a new GetFilteredMetricsNamesParams object with the ability to set a timeout on a request.
NewGetHistogramDefault creates a GetHistogramDefault with default headers values.
NewGetHistogramOK creates a GetHistogramOK with default headers values.
NewGetHistogramParams creates a new GetHistogramParams object, with the default timeout for this client.
NewGetHistogramParamsWithContext creates a new GetHistogramParams object with the ability to set a context for a request.
NewGetHistogramParamsWithHTTPClient creates a new GetHistogramParams object with the ability to set a custom HTTPClient for a request.
NewGetHistogramParamsWithTimeout creates a new GetHistogramParams object with the ability to set a timeout on a request.
NewGetLabelsDefault creates a GetLabelsDefault with default headers values.
NewGetLabelsOK creates a GetLabelsOK with default headers values.
NewGetLabelsParams creates a new GetLabelsParams object, with the default timeout for this client.
NewGetLabelsParamsWithContext creates a new GetLabelsParams object with the ability to set a context for a request.
NewGetLabelsParamsWithHTTPClient creates a new GetLabelsParams object with the ability to set a custom HTTPClient for a request.
NewGetLabelsParamsWithTimeout creates a new GetLabelsParams object with the ability to set a timeout on a request.
NewGetMetricsDefault creates a GetMetricsDefault with default headers values.
NewGetMetricsNamesDefault creates a GetMetricsNamesDefault with default headers values.
NewGetMetricsNamesOK creates a GetMetricsNamesOK with default headers values.
NewGetMetricsNamesParams creates a new GetMetricsNamesParams object, with the default timeout for this client.
NewGetMetricsNamesParamsWithContext creates a new GetMetricsNamesParams object with the ability to set a context for a request.
NewGetMetricsNamesParamsWithHTTPClient creates a new GetMetricsNamesParams object with the ability to set a custom HTTPClient for a request.
NewGetMetricsNamesParamsWithTimeout creates a new GetMetricsNamesParams object with the ability to set a timeout on a request.
NewGetMetricsOK creates a GetMetricsOK with default headers values.
NewGetMetricsParams creates a new GetMetricsParams object, with the default timeout for this client.
NewGetMetricsParamsWithContext creates a new GetMetricsParams object with the ability to set a context for a request.
NewGetMetricsParamsWithHTTPClient creates a new GetMetricsParams object with the ability to set a custom HTTPClient for a request.
NewGetMetricsParamsWithTimeout creates a new GetMetricsParams object with the ability to set a timeout on a request.
NewGetQueryExampleDefault creates a GetQueryExampleDefault with default headers values.
NewGetQueryExampleOK creates a GetQueryExampleOK with default headers values.
NewGetQueryExampleParams creates a new GetQueryExampleParams object, with the default timeout for this client.
NewGetQueryExampleParamsWithContext creates a new GetQueryExampleParams object with the ability to set a context for a request.
NewGetQueryExampleParamsWithHTTPClient creates a new GetQueryExampleParams object with the ability to set a custom HTTPClient for a request.
NewGetQueryExampleParamsWithTimeout creates a new GetQueryExampleParams object with the ability to set a timeout on a request.
NewGetQueryPlanDefault creates a GetQueryPlanDefault with default headers values.
NewGetQueryPlanOK creates a GetQueryPlanOK with default headers values.
NewGetQueryPlanParams creates a new GetQueryPlanParams object, with the default timeout for this client.
NewGetQueryPlanParamsWithContext creates a new GetQueryPlanParams object with the ability to set a context for a request.
NewGetQueryPlanParamsWithHTTPClient creates a new GetQueryPlanParams object with the ability to set a custom HTTPClient for a request.
NewGetQueryPlanParamsWithTimeout creates a new GetQueryPlanParams object with the ability to set a timeout on a request.
NewGetReportDefault creates a GetReportDefault with default headers values.
NewGetReportOK creates a GetReportOK with default headers values.
NewGetReportParams creates a new GetReportParams object, with the default timeout for this client.
NewGetReportParamsWithContext creates a new GetReportParams object with the ability to set a context for a request.
NewGetReportParamsWithHTTPClient creates a new GetReportParams object with the ability to set a custom HTTPClient for a request.
NewGetReportParamsWithTimeout creates a new GetReportParams object with the ability to set a timeout on a request.
NewQueryExistsDefault creates a QueryExistsDefault with default headers values.
NewQueryExistsOK creates a QueryExistsOK with default headers values.
NewQueryExistsParams creates a new QueryExistsParams object, with the default timeout for this client.
NewQueryExistsParamsWithContext creates a new QueryExistsParams object with the ability to set a context for a request.
NewQueryExistsParamsWithHTTPClient creates a new QueryExistsParams object with the ability to set a custom HTTPClient for a request.
NewQueryExistsParamsWithTimeout creates a new QueryExistsParams object with the ability to set a timeout on a request.
NewSchemaByQueryIDDefault creates a SchemaByQueryIDDefault with default headers values.
NewSchemaByQueryIDOK creates a SchemaByQueryIDOK with default headers values.
NewSchemaByQueryIDParams creates a new SchemaByQueryIDParams object, with the default timeout for this client.
NewSchemaByQueryIDParamsWithContext creates a new SchemaByQueryIDParams object with the ability to set a context for a request.
NewSchemaByQueryIDParamsWithHTTPClient creates a new SchemaByQueryIDParams object with the ability to set a custom HTTPClient for a request.
NewSchemaByQueryIDParamsWithTimeout creates a new SchemaByQueryIDParams object with the ability to set a timeout on a request.
# Constants
GetQueryExampleOKBodyQueryExamplesItems0ExampleTypeEXAMPLETYPEFASTEST captures enum value "EXAMPLE_TYPE_FASTEST".
GetQueryExampleOKBodyQueryExamplesItems0ExampleTypeEXAMPLETYPERANDOM captures enum value "EXAMPLE_TYPE_RANDOM".
GetQueryExampleOKBodyQueryExamplesItems0ExampleTypeEXAMPLETYPESLOWEST captures enum value "EXAMPLE_TYPE_SLOWEST".
GetQueryExampleOKBodyQueryExamplesItems0ExampleTypeEXAMPLETYPEUNSPECIFIED captures enum value "EXAMPLE_TYPE_UNSPECIFIED".
GetQueryExampleOKBodyQueryExamplesItems0ExampleTypeEXAMPLETYPEWITHERROR captures enum value "EXAMPLE_TYPE_WITH_ERROR".
# Structs
Client for qan service API
*/.
ExplainFingerprintByQueryIDBody ExplainFingerprintByQueryIDRequest get explain fingerprint for given query ID.
ExplainFingerprintByQueryIDDefault describes a response with status code -1, with default header values.
ExplainFingerprintByQueryIDDefaultBody explain fingerprint by query ID default body
swagger:model ExplainFingerprintByQueryIDDefaultBody
*/.
ExplainFingerprintByQueryIDDefaultBodyDetailsItems0 explain fingerprint by query ID default body details items0
swagger:model ExplainFingerprintByQueryIDDefaultBodyDetailsItems0
*/.
ExplainFingerprintByQueryIDOK describes a response with status code 200, with default header values.
ExplainFingerprintByQueryIDOKBody ExplainFingerprintByQueryIDResponse is explain fingerprint and placeholders count for given query ID.
ExplainFingerprintByQueryIDParams contains all the parameters to send to the API endpoint
for the explain fingerprint by query ID operation.
ExplainFingerprintByQueryIDReader is a Reader for the ExplainFingerprintByQueryID structure.
GetFilteredMetricsNamesBody GetFilteredMetricsNamesRequest contains period for which we need filters.
GetFilteredMetricsNamesDefault describes a response with status code -1, with default header values.
GetFilteredMetricsNamesDefaultBody get filtered metrics names default body
swagger:model GetFilteredMetricsNamesDefaultBody
*/.
GetFilteredMetricsNamesDefaultBodyDetailsItems0 get filtered metrics names default body details items0
swagger:model GetFilteredMetricsNamesDefaultBodyDetailsItems0
*/.
GetFilteredMetricsNamesOK describes a response with status code 200, with default header values.
GetFilteredMetricsNamesOKBody GetFilteredMetricsNamesResponse is map of labels for given period by key.
GetFilteredMetricsNamesOKBodyLabelsAnon ListLabels is list of label's values: duplicates are impossible.
GetFilteredMetricsNamesOKBodyLabelsAnonNameItems0 Values is label values and main metric percent and per second.
GetFilteredMetricsNamesParams contains all the parameters to send to the API endpoint
for the get filtered metrics names operation.
GetFilteredMetricsNamesParamsBodyLabelsItems0 MapFieldEntry allows to pass labels/dimensions in form like {"server": ["db1", "db2"...]}.
GetFilteredMetricsNamesReader is a Reader for the GetFilteredMetricsNames structure.
GetHistogramBody GetHistogramRequest defines filtering by time range, labels and queryid.
GetHistogramDefault describes a response with status code -1, with default header values.
GetHistogramDefaultBody get histogram default body
swagger:model GetHistogramDefaultBody
*/.
GetHistogramDefaultBodyDetailsItems0 get histogram default body details items0
swagger:model GetHistogramDefaultBodyDetailsItems0
*/.
GetHistogramOK describes a response with status code 200, with default header values.
GetHistogramOKBody GetHistogramResponse is histogram items as a list.
GetHistogramOKBodyHistogramItemsItems0 HistogramItem represents one item in histogram.
GetHistogramParams contains all the parameters to send to the API endpoint
for the get histogram operation.
GetHistogramParamsBodyLabelsItems0 MapFieldEntry allows to pass labels/dimensions in form like {"server": ["db1", "db2"...]}.
GetHistogramReader is a Reader for the GetHistogram structure.
GetLabelsBody GetLabelsRequest defines filtering of object detail's labels for specific value of
// dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972.
GetLabelsDefault describes a response with status code -1, with default header values.
GetLabelsDefaultBody get labels default body
swagger:model GetLabelsDefaultBody
*/.
GetLabelsDefaultBodyDetailsItems0 get labels default body details items0
swagger:model GetLabelsDefaultBodyDetailsItems0
*/.
GetLabelsOK describes a response with status code 200, with default header values.
GetLabelsOKBody GetLabelsResponse is a map of labels names as keys and labels values as a list.
GetLabelsOKBodyLabelsAnon ListLabelValues is list of label's values.
GetLabelsParams contains all the parameters to send to the API endpoint
for the get labels operation.
GetLabelsReader is a Reader for the GetLabels structure.
GetMetricsBody GetMetricsRequest defines filtering of metrics for specific value of dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972.
GetMetricsDefault describes a response with status code -1, with default header values.
GetMetricsDefaultBody get metrics default body
swagger:model GetMetricsDefaultBody
*/.
GetMetricsDefaultBodyDetailsItems0 get metrics default body details items0
swagger:model GetMetricsDefaultBodyDetailsItems0
*/.
GetMetricsNamesDefault describes a response with status code -1, with default header values.
GetMetricsNamesDefaultBody get metrics names default body
swagger:model GetMetricsNamesDefaultBody
*/.
GetMetricsNamesDefaultBodyDetailsItems0 get metrics names default body details items0
swagger:model GetMetricsNamesDefaultBodyDetailsItems0
*/.
GetMetricsNamesOK describes a response with status code 200, with default header values.
GetMetricsNamesOKBody MetricsNamesReply is map of stored metrics:
// key is root of metric name in db (Ex:.
GetMetricsNamesParams contains all the parameters to send to the API endpoint
for the get metrics names operation.
GetMetricsNamesReader is a Reader for the GetMetricsNames structure.
GetMetricsOK describes a response with status code 200, with default header values.
GetMetricsOKBody GetMetricsResponse defines metrics for specific value of dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972.
GetMetricsOKBodyMetadata GetSlecetedQueryMetadataResponse consists selected query metadata to show in details for given query ID.
GetMetricsOKBodyMetricsAnon MetricValues is statistics of specific metric.
GetMetricsOKBodySparklineItems0 Point contains values that represents abscissa (time) and ordinate (volume etc.)
// of every point in a coordinate system of Sparklines.
GetMetricsOKBodyTotalsAnon MetricValues is statistics of specific metric.
GetMetricsParams contains all the parameters to send to the API endpoint
for the get metrics operation.
GetMetricsParamsBodyLabelsItems0 MapFieldEntry allows to pass labels/dimensions in form like {"server": ["db1", "db2"...]}.
GetMetricsReader is a Reader for the GetMetrics structure.
GetQueryExampleBody GetQueryExampleRequest defines filtering of query examples for specific value of
// dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972.
GetQueryExampleDefault describes a response with status code -1, with default header values.
GetQueryExampleDefaultBody get query example default body
swagger:model GetQueryExampleDefaultBody
*/.
GetQueryExampleDefaultBodyDetailsItems0 get query example default body details items0
swagger:model GetQueryExampleDefaultBodyDetailsItems0
*/.
GetQueryExampleOK describes a response with status code 200, with default header values.
GetQueryExampleOKBody GetQueryExampleResponse list of query examples.
GetQueryExampleOKBodyQueryExamplesItems0 QueryExample shows query examples and their metrics.
GetQueryExampleParams contains all the parameters to send to the API endpoint
for the get query example operation.
GetQueryExampleParamsBodyLabelsItems0 MapFieldEntry allows to pass labels/dimensions in form like {"server": ["db1", "db2"...]}.
GetQueryExampleReader is a Reader for the GetQueryExample structure.
GetQueryPlanDefault describes a response with status code -1, with default header values.
GetQueryPlanDefaultBody get query plan default body
swagger:model GetQueryPlanDefaultBody
*/.
GetQueryPlanDefaultBodyDetailsItems0 get query plan default body details items0
swagger:model GetQueryPlanDefaultBodyDetailsItems0
*/.
GetQueryPlanOK describes a response with status code 200, with default header values.
GetQueryPlanOKBody GetQueryPlanResponse contains planid and query_plan.
GetQueryPlanParams contains all the parameters to send to the API endpoint
for the get query plan operation.
GetQueryPlanReader is a Reader for the GetQueryPlan structure.
GetReportBody ReportRequest defines filtering of metrics report for db server or other dimentions.
GetReportDefault describes a response with status code -1, with default header values.
GetReportDefaultBody get report default body
swagger:model GetReportDefaultBody
*/.
GetReportDefaultBodyDetailsItems0 get report default body details items0
swagger:model GetReportDefaultBodyDetailsItems0
*/.
GetReportOK describes a response with status code 200, with default header values.
GetReportOKBody ReportReply is list of reports per quieryids, hosts etc.
GetReportOKBodyRowsItems0 Row define metrics for selected dimention.
GetReportOKBodyRowsItems0MetricsAnon Metric cell.
GetReportOKBodyRowsItems0MetricsAnonStats Stat is statistics of specific metric.
GetReportOKBodyRowsItems0SparklineItems0 Point contains values that represents abscissa (time) and ordinate (volume etc.)
// of every point in a coordinate system of Sparklines.
GetReportParams contains all the parameters to send to the API endpoint
for the get report operation.
GetReportParamsBodyLabelsItems0 ReportMapFieldEntry allows to pass labels/dimentions in form like {"server": ["db1", "db2"...]}.
GetReportReader is a Reader for the GetReport structure.
QueryExistsBody QueryExistsRequest check if provided query exists or not.
QueryExistsDefault describes a response with status code -1, with default header values.
QueryExistsDefaultBody query exists default body
swagger:model QueryExistsDefaultBody
*/.
QueryExistsDefaultBodyDetailsItems0 query exists default body details items0
swagger:model QueryExistsDefaultBodyDetailsItems0
*/.
QueryExistsOK describes a response with status code 200, with default header values.
QueryExistsOKBody QueryExistsResponse returns true if query exists.
QueryExistsParams contains all the parameters to send to the API endpoint
for the query exists operation.
QueryExistsReader is a Reader for the QueryExists structure.
SchemaByQueryIDBody SchemaByQueryIDRequest returns schema for given query ID and service ID.
SchemaByQueryIDDefault describes a response with status code -1, with default header values.
SchemaByQueryIDDefaultBody schema by query ID default body
swagger:model SchemaByQueryIDDefaultBody
*/.
SchemaByQueryIDDefaultBodyDetailsItems0 schema by query ID default body details items0
swagger:model SchemaByQueryIDDefaultBodyDetailsItems0
*/.
SchemaByQueryIDOK describes a response with status code 200, with default header values.
SchemaByQueryIDOKBody SchemaByQueryIDResponse is schema for given query ID and service ID.
SchemaByQueryIDParams contains all the parameters to send to the API endpoint
for the schema by query ID operation.
SchemaByQueryIDReader is a Reader for the SchemaByQueryID structure.
# Interfaces
ClientService is the interface for Client methods.
# Type aliases
ClientOption may be used to customize the behavior of Client methods.