Documentation
¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
Index ¶
- type ApplicationMetricAggregationMethod
- type DatastoreResourceQueryParam
- type FilterApplicationValuesCollection
- type FilterApplicationValuesCollectionFilter
- type FilterHTTPValuesCollection
- type FilterHTTPValuesCollectionFilter
- type FilterPathValuesCollection
- type GetMetricsStream200Response
- type HostQueryParam
- type HttpAggregateBy
- type HttpStatusCode
- type InstanceQueryParam
- type Label
- type Metrics200Response
- type MetricsFiltersApplication200Response
- type MetricsFiltersHTTP200Response
- type MetricsFiltersPath200Response
- type MetricsStream
- type MetricsStreamInput
- type OtelProviderType
- type PathQueryParam
- type PostgresResourceQueryParam
- type Quantile
- type ResolutionParam
- type ResourceQueryParam
- type ServiceQueryParam
- type ServiceResourceQueryParam
- type TimeSeries
- type TimeSeriesCollection
- type TimeSeriesValue
- type Unit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationMetricAggregationMethod ¶
type ApplicationMetricAggregationMethod string
ApplicationMetricAggregationMethod defines model for applicationMetricAggregationMethod.
const ( AVG ApplicationMetricAggregationMethod = "AVG" MAX ApplicationMetricAggregationMethod = "MAX" MIN ApplicationMetricAggregationMethod = "MIN" )
Defines values for ApplicationMetricAggregationMethod.
type DatastoreResourceQueryParam ¶
type DatastoreResourceQueryParam = string
DatastoreResourceQueryParam defines model for datastoreResourceQueryParam.
type FilterApplicationValuesCollection ¶
type FilterApplicationValuesCollection = []struct {
Filter *FilterApplicationValuesCollectionFilter `json:"filter,omitempty"`
Values *[]string `json:"values,omitempty"`
}
FilterApplicationValuesCollection A collection of filter values for application metrics
type FilterApplicationValuesCollectionFilter ¶
type FilterApplicationValuesCollectionFilter string
FilterApplicationValuesCollectionFilter defines model for FilterApplicationValuesCollection.Filter.
const (
Instance FilterApplicationValuesCollectionFilter = "instance"
)
Defines values for FilterApplicationValuesCollectionFilter.
type FilterHTTPValuesCollection ¶
type FilterHTTPValuesCollection = []struct {
Filter *FilterHTTPValuesCollectionFilter `json:"filter,omitempty"`
Values *[]string `json:"values,omitempty"`
}
FilterHTTPValuesCollection A collection of filter values for HTTP metrics
type FilterHTTPValuesCollectionFilter ¶
type FilterHTTPValuesCollectionFilter string
FilterHTTPValuesCollectionFilter defines model for FilterHTTPValuesCollection.Filter.
const ( FilterHTTPValuesCollectionFilterHost FilterHTTPValuesCollectionFilter = "host" FilterHTTPValuesCollectionFilterStatusCode FilterHTTPValuesCollectionFilter = "statusCode" )
Defines values for FilterHTTPValuesCollectionFilter.
type FilterPathValuesCollection ¶
type FilterPathValuesCollection = []string
FilterPathValuesCollection A collection of suggested paths to filter by
type GetMetricsStream200Response ¶
type GetMetricsStream200Response = MetricsStream
GetMetricsStream200Response defines model for GetMetricsStream200Response.
type HttpAggregateBy ¶
type HttpAggregateBy string
HttpAggregateBy defines model for httpAggregateBy.
const ( HttpAggregateByHost HttpAggregateBy = "host" HttpAggregateByStatusCode HttpAggregateBy = "statusCode" )
Defines values for HttpAggregateBy.
type InstanceQueryParam ¶
type InstanceQueryParam = string
InstanceQueryParam defines model for instanceQueryParam.
type Metrics200Response ¶
type Metrics200Response = TimeSeriesCollection
Metrics200Response A collection of time series
type MetricsFiltersApplication200Response ¶
type MetricsFiltersApplication200Response = FilterApplicationValuesCollection
MetricsFiltersApplication200Response A collection of filter values for application metrics
type MetricsFiltersHTTP200Response ¶
type MetricsFiltersHTTP200Response = FilterHTTPValuesCollection
MetricsFiltersHTTP200Response A collection of filter values for HTTP metrics
type MetricsFiltersPath200Response ¶
type MetricsFiltersPath200Response = FilterPathValuesCollection
MetricsFiltersPath200Response A collection of suggested paths to filter by
type MetricsStream ¶
type MetricsStream struct {
// OwnerId The ID of the owner
OwnerId string `json:"ownerId"`
// Provider Provider to send metrics to
Provider OtelProviderType `json:"provider"`
// Url The endpoint URL to stream metrics to
Url string `json:"url"`
}
MetricsStream defines model for metricsStream.
type MetricsStreamInput ¶
type MetricsStreamInput struct {
// Provider Provider to send metrics to
Provider *OtelProviderType `json:"provider,omitempty"`
// Token Authentication token for the metrics stream
Token *string `json:"token,omitempty"`
// Url The endpoint URL to stream metrics to
Url *string `json:"url,omitempty"`
}
MetricsStreamInput Input for creating or updating a metrics stream
type OtelProviderType ¶
type OtelProviderType string
OtelProviderType Provider to send metrics to
const ( BETTERSTACK OtelProviderType = "BETTER_STACK" CUSTOM OtelProviderType = "CUSTOM" DATADOG OtelProviderType = "DATADOG" GRAFANA OtelProviderType = "GRAFANA" HONEYCOMB OtelProviderType = "HONEYCOMB" NEWRELIC OtelProviderType = "NEW_RELIC" )
Defines values for OtelProviderType.
type PostgresResourceQueryParam ¶
type PostgresResourceQueryParam = string
PostgresResourceQueryParam defines model for postgresResourceQueryParam.
type ResolutionParam ¶
type ResolutionParam = float32
ResolutionParam defines model for resolutionParam.
type ResourceQueryParam ¶
type ResourceQueryParam = string
ResourceQueryParam defines model for resourceQueryParam.
type ServiceQueryParam ¶
type ServiceQueryParam = string
ServiceQueryParam defines model for serviceQueryParam.
type ServiceResourceQueryParam ¶
type ServiceResourceQueryParam = string
ServiceResourceQueryParam defines model for serviceResourceQueryParam.
type TimeSeries ¶
type TimeSeries struct {
// Labels List of labels describing the time series
Labels []Label `json:"labels"`
Unit Unit `json:"unit"`
// Values The values of the time series
Values []TimeSeriesValue `json:"values"`
}
TimeSeries A time series data point
type TimeSeriesCollection ¶
type TimeSeriesCollection = []TimeSeries
TimeSeriesCollection A collection of time series
type TimeSeriesValue ¶
TimeSeriesValue A time series datapoint value