package
0.0.0-20250221054327-e42394ad955d
Repository: https://github.com/go-faster/vega.git
Documentation: pkg.go.dev
# Functions
LabelerFromContext retrieves the Labeler from the provided context, if present.
NewAlertingRuleRule returns new Rule from AlertingRule.
NewClient initializes new Client defined by OAS.
NewHistogramHistogramOrValue returns new HistogramOrValue from Histogram.
NewMatrixData returns new Data from Matrix.
NewOptAlertingRuleState returns new OptAlertingRuleState with value set to v.
NewOptData returns new OptData with value set to v.
NewOptDateTime returns new OptDateTime with value set to v.
NewOptFloat64 returns new OptFloat64 with value set to v.
NewOptGetRulesType returns new OptGetRulesType with value set to v.
NewOptInt returns new OptInt with value set to v.
NewOptLabelSet returns new OptLabelSet with value set to v.
NewOptMetricMetadataType returns new OptMetricMetadataType with value set to v.
NewOptPrometheusTimestamp returns new OptPrometheusTimestamp with value set to v.
NewOptString returns new OptString with value set to v.
NewRecordingRuleRule returns new Rule from RecordingRule.
NewScalarData returns new Data from Scalar.
NewServer creates new Server.
NewStringData returns new Data from String.
NewStringFloat64HistogramOrValue returns new HistogramOrValue from float64.
NewVectorData returns new Data from Vector.
WithClient specifies http client to use.
WithErrorHandler specifies error handler to use.
WithMaxMultipartMemory specifies limit of memory for storing file parts.
WithMeterProvider specifies a meter provider to use for creating a meter.
WithMethodNotAllowed specifies Method Not Allowed handler to use.
WithMiddleware specifies middlewares to use.
WithNotFound specifies Not Found handler to use.
WithPathPrefix specifies server path prefix.
WithServerURL sets context key to override server URL.
WithTracerProvider specifies a tracer provider to use for creating a tracer.
# Constants
Possible values for RuleType.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Possible values for HistogramOrValueType.
Possible values for DataType.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Possible values for RuleType.
No description provided by the author
No description provided by the author
No description provided by the author
Possible values for DataType.
Possible values for DataType.
Possible values for HistogramOrValueType.
Possible values for DataType.
# Structs
Ref: #/components/schemas/Alert.
Ref: #/components/schemas/AlertingRule.
Ref: #/components/schemas/Bucket.
Client implements OAS client.
Ref: #/components/schemas/Data Data represents sum type.
Ref: #/components/schemas/Exemplar.
Ref: #/components/schemas/ExemplarsForm.
Ref: #/components/schemas/ExemplarsSet.
May still contain data.
FailStatusCode wraps Fail with StatusCode.
Ref: #/components/schemas/FPoint.
GetLabelsParams is parameters of getLabels operation.
GetLabelValuesParams is parameters of getLabelValues operation.
GetMetadataParams is parameters of getMetadata operation.
GetQueryExemplarsParams is parameters of getQueryExemplars operation.
GetQueryParams is parameters of getQuery operation.
GetQueryRangeParams is parameters of getQueryRange operation.
GetRulesParams is parameters of getRules operation.
GetSeriesParams is parameters of getSeries operation.
Ref: #/components/schemas/Histogram.
HistogramOrValue represents sum type.
Ref: #/components/schemas/HPoint.
Labeler is used to allow adding custom attributes to the server request metrics.
Ref: #/components/schemas/LabelsForm.
Merged schema.
Merged schema.
Ref: #/components/schemas/Matrix.
No description provided by the author
Merged schema.
Ref: #/components/schemas/MetricMetadata.
OptAlertingRuleState is optional AlertingRuleState.
OptData is optional Data.
OptDateTime is optional time.Time.
OptFloat64 is optional float64.
OptGetRulesType is optional GetRulesType.
OptInt is optional int.
OptLabelSet is optional LabelSet.
OptMetricMetadataType is optional MetricMetadataType.
OptPrometheusTimestamp is optional PrometheusTimestamp.
OptString is optional string.
Merged schema.
Ref: #/components/schemas/QueryForm.
Ref: #/components/schemas/QueryRangeForm.
Merged schema.
Ref: #/components/schemas/RecordingRule.
Route is route object.
Ref: #/components/schemas/Rule Rule represents sum type.
Ref: #/components/schemas/RuleGroup.
Ref: #/components/schemas/Rules.
Merged schema.
Ref: #/components/schemas/Sample.
Ref: #/components/schemas/Scalar.
Ref: #/components/schemas/SeriesForm.
Merged schema.
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
Ref: #/components/schemas/String.
Ref: #/components/schemas/StringValue.
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
Ref: #/components/schemas/Vector.
No description provided by the author
# Interfaces
ClientOption is client config option.
Handler handles operations described by OpenAPI v3 specification.
Invoker invokes operations described by OpenAPI v3 specification.
Option is config option.
ServerOption is server config option.
# Type aliases
No description provided by the author
DataType is oneOf type of Data.
ErrorHandler is error handler.
No description provided by the author
No description provided by the author
No description provided by the author
HistogramOrValueType is oneOf type of HistogramOrValue.
No description provided by the author
Ref: #/components/schemas/LabelSet.
No description provided by the author
No description provided by the author
Ref: #/components/schemas/Metadata.
No description provided by the author
Middleware is middleware type.
OperationName is the ogen operation name.
No description provided by the author
Ref: #/components/schemas/RuleHealth.
RuleType is oneOf type of Rule.
No description provided by the author
No description provided by the author