diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2a7a092..d8ac772 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,7 +7,6 @@ on: env: DOCKER_REGISTRY: ghcr.io DOCKER_IMAGE_NAME: hasura/ndc-prometheus - DOCKER_CLI_IMAGE_NAME: hasura/ndc-prometheus-cli jobs: tests: @@ -47,21 +46,6 @@ jobs: labels: ${{ steps.docker-metadata.outputs.labels }} platforms: linux/amd64,linux/arm64 - - name: Extract metadata (tags, labels) for the CLI - id: docker-metadata-cli - uses: docker/metadata-action@v5 - with: - images: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_CLI_IMAGE_NAME }} - - - name: Build and push - uses: docker/build-push-action@v6 - with: - push: true - tags: ${{ steps.docker-metadata-cli.outputs.tags }} - labels: ${{ steps.docker-metadata-cli.outputs.labels }} - file: Dockerfile.cli - platforms: linux/amd64,linux/arm64 - build-cli-binaries: name: build the CLI binaries runs-on: ubuntu-latest diff --git a/Dockerfile.cli b/Dockerfile.cli deleted file mode 100644 index f9e050a..0000000 --- a/Dockerfile.cli +++ /dev/null @@ -1,18 +0,0 @@ -# build context at repo root: docker build -f Dockerfile . -FROM golang:1.23 AS builder - -WORKDIR /app -COPY go.mod go.sum ./ -RUN go mod download -COPY . . -RUN make build-configuration - -# stage 2: production image -FROM alpine:3.20 - -# Copy the binary to the production image from the builder stage. -COPY --from=builder /app/_output/ndc-prometheus /bin/ndc-prometheus-cli - -WORKDIR /app - -ENTRYPOINT ["/bin/ndc-prometheus-cli"] \ No newline at end of file diff --git a/connector-definition/.hasura-connector/connector-metadata.yaml b/connector-definition/.hasura-connector/connector-metadata.yaml index aaa29c6..a9dab40 100644 --- a/connector-definition/.hasura-connector/connector-metadata.yaml +++ b/connector-definition/.hasura-connector/connector-metadata.yaml @@ -7,15 +7,12 @@ supportedEnvironmentVariables: description: The connection URL to the Prometheus server required: true commands: - update: - type: Dockerized - dockerImage: ghcr.io/hasura/ndc-prometheus-cli:{{VERSION}} - commandArgs: ["update"] + update: ndc-prometheus update cliPlugin: - type: Docker - dockerImage: ghcr.io/hasura/ndc-prometheus-cli:{{VERSION}} + name: ndc-prometheus + version: {{VERSION}} dockerComposeWatch: # copy config files into the existing container and restart it - path: ./configuration.yaml target: /etc/connector/configuration.yaml - action: sync+restart + action: sync+restart \ No newline at end of file diff --git a/connector/metadata/const.go b/connector/metadata/const.go index 1bba2f1..b1dfc3d 100644 --- a/connector/metadata/const.go +++ b/connector/metadata/const.go @@ -8,16 +8,15 @@ import ( type ScalarName string const ( - ScalarBoolean ScalarName = "Boolean" - ScalarInt64 ScalarName = "Int64" - ScalarFloat64 ScalarName = "Float64" - ScalarString ScalarName = "String" - ScalarDecimal ScalarName = "Decimal" - ScalarTimestamp ScalarName = "Timestamp" - ScalarLabelSet ScalarName = "LabelSet" - ScalarDuration ScalarName = "Duration" - ScalarRangeResolution ScalarName = "RangeResolution" - ScalarJSON ScalarName = "JSON" + ScalarBoolean ScalarName = "Boolean" + ScalarInt64 ScalarName = "Int64" + ScalarFloat64 ScalarName = "Float64" + ScalarString ScalarName = "String" + ScalarDecimal ScalarName = "Decimal" + ScalarTimestamp ScalarName = "Timestamp" + ScalarLabelSet ScalarName = "LabelSet" + ScalarDuration ScalarName = "Duration" + ScalarJSON ScalarName = "JSON" ) const ( @@ -70,12 +69,7 @@ var defaultScalars = map[string]schema.ScalarType{ string(ScalarDuration): { AggregateFunctions: schema.ScalarTypeAggregateFunctions{}, ComparisonOperators: map[string]schema.ComparisonOperatorDefinition{}, - Representation: schema.NewTypeRepresentationString().Encode(), - }, - string(ScalarRangeResolution): { - AggregateFunctions: schema.ScalarTypeAggregateFunctions{}, - ComparisonOperators: map[string]schema.ComparisonOperatorDefinition{}, - Representation: schema.NewTypeRepresentationString().Encode(), + Representation: schema.NewTypeRepresentationJSON().Encode(), }, string(ScalarTimestamp): { AggregateFunctions: schema.ScalarTypeAggregateFunctions{}, @@ -238,7 +232,7 @@ var defaultObjectTypes = map[string]schema.ObjectType{ }, "range": schema.ObjectField{ Description: utils.ToPtr("The range value"), - Type: schema.NewNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNamedType(string(ScalarDuration)).Encode(), }, }, }, @@ -251,7 +245,7 @@ var defaultObjectTypes = map[string]schema.ObjectType{ }, "range": schema.ObjectField{ Description: utils.ToPtr("The range value"), - Type: schema.NewNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNamedType(string(ScalarDuration)).Encode(), }, }, }, @@ -264,7 +258,7 @@ var defaultObjectTypes = map[string]schema.ObjectType{ }, "range": schema.ObjectField{ Description: utils.ToPtr("The range value"), - Type: schema.NewNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNamedType(string(ScalarDuration)).Encode(), }, }, }, diff --git a/connector/metadata/promql.go b/connector/metadata/promql.go index fb47476..d00b18b 100644 --- a/connector/metadata/promql.go +++ b/connector/metadata/promql.go @@ -93,7 +93,7 @@ func createPromQLFunctionObjectFields(name string, labelEnumScalarName string) s }, string(AbsentOverTime): schema.ObjectField{ Description: utils.ToPtr("Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(Ceil): schema.ObjectField{ Description: utils.ToPtr("Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v"), @@ -101,7 +101,7 @@ func createPromQLFunctionObjectFields(name string, labelEnumScalarName string) s }, string(Changes): schema.ObjectField{ Description: utils.ToPtr("Returns the number of times its value has changed within the provided time range as an instant vector"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(Clamp): schema.ObjectField{ Description: utils.ToPtr("Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max"), @@ -117,11 +117,11 @@ func createPromQLFunctionObjectFields(name string, labelEnumScalarName string) s }, string(Delta): schema.ObjectField{ Description: utils.ToPtr("Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(Derivative): schema.ObjectField{ Description: utils.ToPtr("Calculates the per-second derivative of the time series in a range vector v, using simple linear regression"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(Exponential): schema.ObjectField{ Description: utils.ToPtr("Calculates the exponential function for all elements in v"), @@ -165,15 +165,15 @@ func createPromQLFunctionObjectFields(name string, labelEnumScalarName string) s }, string(IDelta): schema.ObjectField{ Description: utils.ToPtr("Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(Increase): schema.ObjectField{ Description: utils.ToPtr("Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(IRate): schema.ObjectField{ Description: utils.ToPtr("Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(LabelJoin): schema.ObjectField{ Description: utils.ToPtr("Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value"), @@ -201,11 +201,11 @@ func createPromQLFunctionObjectFields(name string, labelEnumScalarName string) s }, string(Rate): schema.ObjectField{ Description: utils.ToPtr("Calculates the per-second average rate of increase of the time series in the range vector"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(Resets): schema.ObjectField{ Description: utils.ToPtr("Returns the number of counter resets within the provided time range as an instant vector"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(Round): schema.ObjectField{ Description: utils.ToPtr("Rounds the sample values of all elements in v to the nearest integer"), @@ -245,23 +245,23 @@ func createPromQLFunctionObjectFields(name string, labelEnumScalarName string) s }, string(AvgOverTime): schema.ObjectField{ Description: utils.ToPtr("The average value of all points in the specified interval"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(MinOverTime): schema.ObjectField{ Description: utils.ToPtr("The minimum value of all points in the specified interval"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(MaxOverTime): schema.ObjectField{ Description: utils.ToPtr("The maximum value of all points in the specified interval"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(SumOverTime): schema.ObjectField{ Description: utils.ToPtr("The sum of all values in the specified interval"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(CountOverTime): schema.ObjectField{ Description: utils.ToPtr("The count of all values in the specified interval"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(QuantileOverTime): schema.ObjectField{ Description: utils.ToPtr("The φ-quantile (0 ≤ φ ≤ 1) of the values in the specified interval"), @@ -269,23 +269,23 @@ func createPromQLFunctionObjectFields(name string, labelEnumScalarName string) s }, string(StddevOverTime): schema.ObjectField{ Description: utils.ToPtr("The population standard deviation of the values in the specified interval"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(StdvarOverTime): schema.ObjectField{ Description: utils.ToPtr("The population standard variance of the values in the specified interval"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(LastOverTime): schema.ObjectField{ Description: utils.ToPtr("The most recent point value in the specified interval"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(PresentOverTime): schema.ObjectField{ Description: utils.ToPtr("The value 1 for any series in the specified interval"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(MadOverTime): schema.ObjectField{ Description: utils.ToPtr("The median absolute deviation of all points in the specified interval"), - Type: schema.NewNullableNamedType(string(ScalarRangeResolution)).Encode(), + Type: schema.NewNullableNamedType(string(ScalarDuration)).Encode(), }, string(Acos): schema.ObjectField{ Description: utils.ToPtr("Calculates the arccosine of all elements in v"), diff --git a/tests/engine/app/metadata/http_client_duration_milliseconds_bucket.hml b/tests/engine/app/metadata/http_client_duration_milliseconds_bucket.hml index f399336..3825e58 100644 --- a/tests/engine/app/metadata/http_client_duration_milliseconds_bucket.hml +++ b/tests/engine/app/metadata/http_client_duration_milliseconds_bucket.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[HttpClientDurationMillisecondsBucketLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[HttpClientDurationMillisecondsBucketLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: HttpClientDurationMillisecondsBucketLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[HttpClientDurationMillisecondsBucketLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[HttpClientDurationMillisecondsBucketLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[HttpClientDurationMillisecondsBucketLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[HttpClientDurationMillisecondsBucketLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[HttpClientDurationMillisecondsBucketLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/http_client_duration_milliseconds_count.hml b/tests/engine/app/metadata/http_client_duration_milliseconds_count.hml index 25e84f8..e3b9fdb 100644 --- a/tests/engine/app/metadata/http_client_duration_milliseconds_count.hml +++ b/tests/engine/app/metadata/http_client_duration_milliseconds_count.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[HttpClientDurationMillisecondsCountLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[HttpClientDurationMillisecondsCountLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: HttpClientDurationMillisecondsCountLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[HttpClientDurationMillisecondsCountLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[HttpClientDurationMillisecondsCountLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[HttpClientDurationMillisecondsCountLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[HttpClientDurationMillisecondsCountLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[HttpClientDurationMillisecondsCountLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/http_client_duration_milliseconds_sum.hml b/tests/engine/app/metadata/http_client_duration_milliseconds_sum.hml index bb0cfa2..2aa4b78 100644 --- a/tests/engine/app/metadata/http_client_duration_milliseconds_sum.hml +++ b/tests/engine/app/metadata/http_client_duration_milliseconds_sum.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[HttpClientDurationMillisecondsSumLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[HttpClientDurationMillisecondsSumLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: HttpClientDurationMillisecondsSumLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[HttpClientDurationMillisecondsSumLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[HttpClientDurationMillisecondsSumLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[HttpClientDurationMillisecondsSumLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[HttpClientDurationMillisecondsSumLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[HttpClientDurationMillisecondsSumLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/http_client_request_size_bytes_total.hml b/tests/engine/app/metadata/http_client_request_size_bytes_total.hml index c310f14..5caaf3b 100644 --- a/tests/engine/app/metadata/http_client_request_size_bytes_total.hml +++ b/tests/engine/app/metadata/http_client_request_size_bytes_total.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[HttpClientRequestSizeBytesTotalLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[HttpClientRequestSizeBytesTotalLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: HttpClientRequestSizeBytesTotalLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[HttpClientRequestSizeBytesTotalLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[HttpClientRequestSizeBytesTotalLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[HttpClientRequestSizeBytesTotalLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[HttpClientRequestSizeBytesTotalLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[HttpClientRequestSizeBytesTotalLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/http_client_response_size_bytes_total.hml b/tests/engine/app/metadata/http_client_response_size_bytes_total.hml index 2e91c84..d39bbd0 100644 --- a/tests/engine/app/metadata/http_client_response_size_bytes_total.hml +++ b/tests/engine/app/metadata/http_client_response_size_bytes_total.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[HttpClientResponseSizeBytesTotalLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[HttpClientResponseSizeBytesTotalLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: HttpClientResponseSizeBytesTotalLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[HttpClientResponseSizeBytesTotalLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[HttpClientResponseSizeBytesTotalLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[HttpClientResponseSizeBytesTotalLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[HttpClientResponseSizeBytesTotalLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[HttpClientResponseSizeBytesTotalLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/ndc_prometheus_query_total.hml b/tests/engine/app/metadata/ndc_prometheus_query_total.hml index 986ed43..e60516a 100644 --- a/tests/engine/app/metadata/ndc_prometheus_query_total.hml +++ b/tests/engine/app/metadata/ndc_prometheus_query_total.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[NdcPrometheusQueryTotalLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[NdcPrometheusQueryTotalLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: NdcPrometheusQueryTotalLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[NdcPrometheusQueryTotalLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[NdcPrometheusQueryTotalLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[NdcPrometheusQueryTotalLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[NdcPrometheusQueryTotalLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[NdcPrometheusQueryTotalLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/ndc_prometheus_query_total_time_bucket.hml b/tests/engine/app/metadata/ndc_prometheus_query_total_time_bucket.hml index 585d912..99e9e8e 100644 --- a/tests/engine/app/metadata/ndc_prometheus_query_total_time_bucket.hml +++ b/tests/engine/app/metadata/ndc_prometheus_query_total_time_bucket.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[NdcPrometheusQueryTotalTimeBucketLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[NdcPrometheusQueryTotalTimeBucketLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: NdcPrometheusQueryTotalTimeBucketLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[NdcPrometheusQueryTotalTimeBucketLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[NdcPrometheusQueryTotalTimeBucketLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[NdcPrometheusQueryTotalTimeBucketLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[NdcPrometheusQueryTotalTimeBucketLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[NdcPrometheusQueryTotalTimeBucketLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/ndc_prometheus_query_total_time_count.hml b/tests/engine/app/metadata/ndc_prometheus_query_total_time_count.hml index ede91d7..5aaeea8 100644 --- a/tests/engine/app/metadata/ndc_prometheus_query_total_time_count.hml +++ b/tests/engine/app/metadata/ndc_prometheus_query_total_time_count.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[NdcPrometheusQueryTotalTimeCountLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[NdcPrometheusQueryTotalTimeCountLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: NdcPrometheusQueryTotalTimeCountLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[NdcPrometheusQueryTotalTimeCountLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[NdcPrometheusQueryTotalTimeCountLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[NdcPrometheusQueryTotalTimeCountLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[NdcPrometheusQueryTotalTimeCountLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[NdcPrometheusQueryTotalTimeCountLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/ndc_prometheus_query_total_time_sum.hml b/tests/engine/app/metadata/ndc_prometheus_query_total_time_sum.hml index 6137a8b..26359f4 100644 --- a/tests/engine/app/metadata/ndc_prometheus_query_total_time_sum.hml +++ b/tests/engine/app/metadata/ndc_prometheus_query_total_time_sum.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[NdcPrometheusQueryTotalTimeSumLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[NdcPrometheusQueryTotalTimeSumLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: NdcPrometheusQueryTotalTimeSumLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[NdcPrometheusQueryTotalTimeSumLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[NdcPrometheusQueryTotalTimeSumLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[NdcPrometheusQueryTotalTimeSumLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[NdcPrometheusQueryTotalTimeSumLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[NdcPrometheusQueryTotalTimeSumLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/net_conntrack_dialer_conn_attempted_total.hml b/tests/engine/app/metadata/net_conntrack_dialer_conn_attempted_total.hml index cd5ddec..621eed1 100644 --- a/tests/engine/app/metadata/net_conntrack_dialer_conn_attempted_total.hml +++ b/tests/engine/app/metadata/net_conntrack_dialer_conn_attempted_total.hml @@ -38,7 +38,7 @@ definition: description: Input arguments for the holt_winters function fields: - name: range - type: RangeResolution! + type: Duration! description: The range value - name: sf type: Float64! @@ -152,7 +152,7 @@ definition: description: Input arguments for the predict_linear function fields: - name: range - type: RangeResolution! + type: Duration! description: The range value - name: t type: Float64! @@ -187,7 +187,7 @@ definition: type: Float64! description: The φ-quantile (0 ≤ φ ≤ 1) of the values - name: range - type: RangeResolution! + type: Duration! description: The range value graphql: typeName: QuantileOverTimeInput @@ -224,7 +224,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -249,7 +249,7 @@ definition: - name: avg type: "[NetConntrackDialerConnAttemptedTotalLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -259,7 +259,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -283,7 +283,7 @@ definition: - name: count type: "[NetConntrackDialerConnAttemptedTotalLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: NetConntrackDialerConnAttemptedTotalLabel @@ -291,12 +291,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -344,17 +344,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -369,7 +369,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -388,24 +388,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[NetConntrackDialerConnAttemptedTotalLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[NetConntrackDialerConnAttemptedTotalLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -417,11 +417,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -461,17 +461,17 @@ definition: - name: stddev type: "[NetConntrackDialerConnAttemptedTotalLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[NetConntrackDialerConnAttemptedTotalLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[NetConntrackDialerConnAttemptedTotalLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/net_conntrack_dialer_conn_closed_total.hml b/tests/engine/app/metadata/net_conntrack_dialer_conn_closed_total.hml index d805b07..bccdc1e 100644 --- a/tests/engine/app/metadata/net_conntrack_dialer_conn_closed_total.hml +++ b/tests/engine/app/metadata/net_conntrack_dialer_conn_closed_total.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[NetConntrackDialerConnClosedTotalLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[NetConntrackDialerConnClosedTotalLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: NetConntrackDialerConnClosedTotalLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[NetConntrackDialerConnClosedTotalLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[NetConntrackDialerConnClosedTotalLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[NetConntrackDialerConnClosedTotalLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[NetConntrackDialerConnClosedTotalLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[NetConntrackDialerConnClosedTotalLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/net_conntrack_dialer_conn_established_total.hml b/tests/engine/app/metadata/net_conntrack_dialer_conn_established_total.hml index e1cf516..f6a86b2 100644 --- a/tests/engine/app/metadata/net_conntrack_dialer_conn_established_total.hml +++ b/tests/engine/app/metadata/net_conntrack_dialer_conn_established_total.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[NetConntrackDialerConnEstablishedTotalLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[NetConntrackDialerConnEstablishedTotalLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: NetConntrackDialerConnEstablishedTotalLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[NetConntrackDialerConnEstablishedTotalLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[NetConntrackDialerConnEstablishedTotalLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[NetConntrackDialerConnEstablishedTotalLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[NetConntrackDialerConnEstablishedTotalLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[NetConntrackDialerConnEstablishedTotalLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/net_conntrack_dialer_conn_failed_total.hml b/tests/engine/app/metadata/net_conntrack_dialer_conn_failed_total.hml index 26736aa..f40e7db 100644 --- a/tests/engine/app/metadata/net_conntrack_dialer_conn_failed_total.hml +++ b/tests/engine/app/metadata/net_conntrack_dialer_conn_failed_total.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[NetConntrackDialerConnFailedTotalLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[NetConntrackDialerConnFailedTotalLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: NetConntrackDialerConnFailedTotalLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[NetConntrackDialerConnFailedTotalLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[NetConntrackDialerConnFailedTotalLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[NetConntrackDialerConnFailedTotalLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[NetConntrackDialerConnFailedTotalLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[NetConntrackDialerConnFailedTotalLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/otel_scope_info.hml b/tests/engine/app/metadata/otel_scope_info.hml index 1d2246b..086227d 100644 --- a/tests/engine/app/metadata/otel_scope_info.hml +++ b/tests/engine/app/metadata/otel_scope_info.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[OtelScopeInfoLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[OtelScopeInfoLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: OtelScopeInfoLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[OtelScopeInfoLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[OtelScopeInfoLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[OtelScopeInfoLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[OtelScopeInfoLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[OtelScopeInfoLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/process_cpu_seconds_total.hml b/tests/engine/app/metadata/process_cpu_seconds_total.hml index cf07ece..61f8f37 100644 --- a/tests/engine/app/metadata/process_cpu_seconds_total.hml +++ b/tests/engine/app/metadata/process_cpu_seconds_total.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[ProcessCpuSecondsTotalLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[ProcessCpuSecondsTotalLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: ProcessCpuSecondsTotalLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[ProcessCpuSecondsTotalLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[ProcessCpuSecondsTotalLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[ProcessCpuSecondsTotalLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[ProcessCpuSecondsTotalLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[ProcessCpuSecondsTotalLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/process_max_fds.hml b/tests/engine/app/metadata/process_max_fds.hml index fc29e8e..1257d44 100644 --- a/tests/engine/app/metadata/process_max_fds.hml +++ b/tests/engine/app/metadata/process_max_fds.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[ProcessMaxFdsLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[ProcessMaxFdsLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: ProcessMaxFdsLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[ProcessMaxFdsLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[ProcessMaxFdsLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[ProcessMaxFdsLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[ProcessMaxFdsLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[ProcessMaxFdsLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/process_network_receive_bytes_total.hml b/tests/engine/app/metadata/process_network_receive_bytes_total.hml index 88da5c6..e2f3397 100644 --- a/tests/engine/app/metadata/process_network_receive_bytes_total.hml +++ b/tests/engine/app/metadata/process_network_receive_bytes_total.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[ProcessNetworkReceiveBytesTotalLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[ProcessNetworkReceiveBytesTotalLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: ProcessNetworkReceiveBytesTotalLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[ProcessNetworkReceiveBytesTotalLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[ProcessNetworkReceiveBytesTotalLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[ProcessNetworkReceiveBytesTotalLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[ProcessNetworkReceiveBytesTotalLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[ProcessNetworkReceiveBytesTotalLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/process_network_transmit_bytes_total.hml b/tests/engine/app/metadata/process_network_transmit_bytes_total.hml index 86f1ba2..81a8e35 100644 --- a/tests/engine/app/metadata/process_network_transmit_bytes_total.hml +++ b/tests/engine/app/metadata/process_network_transmit_bytes_total.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[ProcessNetworkTransmitBytesTotalLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[ProcessNetworkTransmitBytesTotalLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: ProcessNetworkTransmitBytesTotalLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[ProcessNetworkTransmitBytesTotalLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[ProcessNetworkTransmitBytesTotalLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[ProcessNetworkTransmitBytesTotalLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[ProcessNetworkTransmitBytesTotalLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[ProcessNetworkTransmitBytesTotalLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/process_open_fds.hml b/tests/engine/app/metadata/process_open_fds.hml index ca8848d..737b437 100644 --- a/tests/engine/app/metadata/process_open_fds.hml +++ b/tests/engine/app/metadata/process_open_fds.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[ProcessOpenFdsLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[ProcessOpenFdsLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: ProcessOpenFdsLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[ProcessOpenFdsLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[ProcessOpenFdsLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[ProcessOpenFdsLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[ProcessOpenFdsLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[ProcessOpenFdsLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/process_resident_memory_bytes.hml b/tests/engine/app/metadata/process_resident_memory_bytes.hml index 2392385..c4a9585 100644 --- a/tests/engine/app/metadata/process_resident_memory_bytes.hml +++ b/tests/engine/app/metadata/process_resident_memory_bytes.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[ProcessResidentMemoryBytesLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[ProcessResidentMemoryBytesLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: ProcessResidentMemoryBytesLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[ProcessResidentMemoryBytesLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[ProcessResidentMemoryBytesLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[ProcessResidentMemoryBytesLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[ProcessResidentMemoryBytesLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[ProcessResidentMemoryBytesLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/process_start_time_seconds.hml b/tests/engine/app/metadata/process_start_time_seconds.hml index ad26a2c..22bb8df 100644 --- a/tests/engine/app/metadata/process_start_time_seconds.hml +++ b/tests/engine/app/metadata/process_start_time_seconds.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[ProcessStartTimeSecondsLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[ProcessStartTimeSecondsLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: ProcessStartTimeSecondsLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[ProcessStartTimeSecondsLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[ProcessStartTimeSecondsLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[ProcessStartTimeSecondsLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[ProcessStartTimeSecondsLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[ProcessStartTimeSecondsLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/process_virtual_memory_bytes.hml b/tests/engine/app/metadata/process_virtual_memory_bytes.hml index daccb18..cf10095 100644 --- a/tests/engine/app/metadata/process_virtual_memory_bytes.hml +++ b/tests/engine/app/metadata/process_virtual_memory_bytes.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[ProcessVirtualMemoryBytesLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[ProcessVirtualMemoryBytesLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: ProcessVirtualMemoryBytesLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[ProcessVirtualMemoryBytesLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[ProcessVirtualMemoryBytesLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[ProcessVirtualMemoryBytesLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[ProcessVirtualMemoryBytesLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[ProcessVirtualMemoryBytesLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/process_virtual_memory_max_bytes.hml b/tests/engine/app/metadata/process_virtual_memory_max_bytes.hml index 3b4c43a..7e4d7fd 100644 --- a/tests/engine/app/metadata/process_virtual_memory_max_bytes.hml +++ b/tests/engine/app/metadata/process_virtual_memory_max_bytes.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[ProcessVirtualMemoryMaxBytesLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[ProcessVirtualMemoryMaxBytesLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: ProcessVirtualMemoryMaxBytesLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[ProcessVirtualMemoryMaxBytesLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[ProcessVirtualMemoryMaxBytesLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[ProcessVirtualMemoryMaxBytesLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[ProcessVirtualMemoryMaxBytesLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[ProcessVirtualMemoryMaxBytesLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/prometheus-types.hml b/tests/engine/app/metadata/prometheus-types.hml index 8c551dd..d4d7f15 100644 --- a/tests/engine/app/metadata/prometheus-types.hml +++ b/tests/engine/app/metadata/prometheus-types.hml @@ -1,31 +1,3 @@ ---- -kind: ScalarType -version: v1 -definition: - name: RangeResolution - graphql: - typeName: RangeResolution - ---- -kind: BooleanExpressionType -version: v1 -definition: - name: RangeResolution_bool_exp - operand: - scalar: - type: RangeResolution - comparisonOperators: [] - dataConnectorOperatorMapping: - - dataConnectorName: prometheus - dataConnectorScalarType: RangeResolution - operatorMapping: {} - logicalOperators: - enable: true - isNull: - enable: true - graphql: - typeName: RangeResolution_bool_exp - --- kind: ScalarType version: v1 @@ -186,9 +158,9 @@ definition: - name: _eq argumentType: Timestamp! - name: _gt - argumentType: String! + argumentType: Timestamp! - name: _lt - argumentType: String! + argumentType: Timestamp! dataConnectorOperatorMapping: - dataConnectorName: prometheus dataConnectorScalarType: Timestamp @@ -1083,4 +1055,3 @@ definition: enable: true graphql: typeName: HttpClientResponseSizeBytesTotalLabel_bool_exp - diff --git a/tests/engine/app/metadata/prometheus.hml b/tests/engine/app/metadata/prometheus.hml index 64fe9ec..98b630c 100644 --- a/tests/engine/app/metadata/prometheus.hml +++ b/tests/engine/app/metadata/prometheus.hml @@ -61,7 +61,7 @@ definition: name: Decimal Duration: representation: - type: string + type: json aggregate_functions: {} comparison_operators: {} Float64: @@ -73,35 +73,36 @@ definition: representation: type: enum one_of: - - http_method - - http_status_code - net_peer_port - otel_scope_name - - instance - - job + - le + - http_method - net_peer_name + - job - otel_scope_version - - le + - http_status_code + - instance aggregate_functions: {} comparison_operators: {} HttpClientDurationMillisecondsCountLabel: representation: type: enum one_of: - - otel_scope_name - - otel_scope_version - http_method - http_status_code - instance - job - net_peer_name - net_peer_port + - otel_scope_name + - otel_scope_version aggregate_functions: {} comparison_operators: {} HttpClientDurationMillisecondsSumLabel: representation: type: enum one_of: + - net_peer_name - net_peer_port - otel_scope_name - otel_scope_version @@ -109,21 +110,20 @@ definition: - http_status_code - instance - job - - net_peer_name aggregate_functions: {} comparison_operators: {} HttpClientRequestSizeBytesTotalLabel: representation: type: enum one_of: + - net_peer_port + - otel_scope_name - otel_scope_version - http_method - http_status_code - instance - job - net_peer_name - - net_peer_port - - otel_scope_name aggregate_functions: {} comparison_operators: {} HttpClientResponseSizeBytesTotalLabel: @@ -159,12 +159,12 @@ definition: representation: type: enum one_of: + - status - collection - http_status - instance - job - otel_scope_name - - status aggregate_functions: {} comparison_operators: {} NdcPrometheusQueryTotalTimeBucketLabel: @@ -182,10 +182,10 @@ definition: representation: type: enum one_of: - - collection - instance - job - otel_scope_name + - collection aggregate_functions: {} comparison_operators: {} NdcPrometheusQueryTotalTimeSumLabel: @@ -202,24 +202,24 @@ definition: representation: type: enum one_of: - - job - instance + - job aggregate_functions: {} comparison_operators: {} NetConntrackDialerConnClosedTotalLabel: representation: type: enum one_of: - - job - instance + - job aggregate_functions: {} comparison_operators: {} NetConntrackDialerConnEstablishedTotalLabel: representation: type: enum one_of: - - job - instance + - job aggregate_functions: {} comparison_operators: {} NetConntrackDialerConnFailedTotalLabel: @@ -277,24 +277,24 @@ definition: representation: type: enum one_of: - - job - instance + - job aggregate_functions: {} comparison_operators: {} ProcessResidentMemoryBytesLabel: representation: type: enum one_of: - - instance - job + - instance aggregate_functions: {} comparison_operators: {} ProcessStartTimeSecondsLabel: representation: type: enum one_of: - - instance - job + - instance aggregate_functions: {} comparison_operators: {} ProcessVirtualMemoryBytesLabel: @@ -339,11 +339,6 @@ definition: - job aggregate_functions: {} comparison_operators: {} - RangeResolution: - representation: - type: string - aggregate_functions: {} - comparison_operators: {} String: representation: type: string @@ -382,13 +377,13 @@ definition: representation: type: enum one_of: - - telemetry_sdk_version - - instance - - job - service_name - service_version - telemetry_sdk_language - telemetry_sdk_name + - telemetry_sdk_version + - instance + - job aggregate_functions: {} comparison_operators: {} Timestamp: @@ -402,12 +397,12 @@ definition: type: custom argument_type: type: named - name: String + name: Timestamp _lt: type: custom argument_type: type: named - name: String + name: Timestamp TimestampTZ: representation: type: timestamptz @@ -508,7 +503,7 @@ definition: description: The range value type: type: named - name: RangeResolution + name: Duration sf: description: The lower the smoothing factor sf, the more importance is given to old data. Must be between 0 and 1 type: @@ -601,7 +596,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -658,7 +653,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -679,7 +674,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -729,7 +724,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -749,14 +744,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -841,21 +836,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -876,7 +871,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -918,7 +913,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -933,7 +928,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -948,7 +943,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -962,7 +957,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -990,14 +985,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -1086,7 +1081,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -1101,7 +1096,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -1116,7 +1111,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -1266,7 +1261,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -1323,7 +1318,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -1344,7 +1339,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -1394,7 +1389,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -1414,14 +1409,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -1506,21 +1501,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -1541,7 +1536,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -1583,7 +1578,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -1598,7 +1593,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -1613,7 +1608,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -1627,7 +1622,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -1655,14 +1650,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -1751,7 +1746,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -1766,7 +1761,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -1781,7 +1776,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -1931,7 +1926,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -1988,7 +1983,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -2009,7 +2004,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -2059,7 +2054,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -2079,14 +2074,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -2171,21 +2166,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -2206,7 +2201,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -2248,7 +2243,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -2263,7 +2258,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -2278,7 +2273,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -2292,7 +2287,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -2320,14 +2315,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -2416,7 +2411,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -2431,7 +2426,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -2446,7 +2441,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -2596,7 +2591,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -2653,7 +2648,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -2674,7 +2669,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -2724,7 +2719,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -2744,14 +2739,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -2836,21 +2831,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -2871,7 +2866,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -2913,7 +2908,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -2928,7 +2923,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -2943,7 +2938,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -2957,7 +2952,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -2985,14 +2980,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -3081,7 +3076,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -3096,7 +3091,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -3111,7 +3106,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -3261,7 +3256,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -3318,7 +3313,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -3339,7 +3334,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -3389,7 +3384,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -3409,14 +3404,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -3501,21 +3496,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -3536,7 +3531,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -3578,7 +3573,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -3593,7 +3588,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -3608,7 +3603,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -3622,7 +3617,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -3650,14 +3645,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -3746,7 +3741,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -3761,7 +3756,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -3776,7 +3771,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -3940,7 +3935,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -3997,7 +3992,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -4018,7 +4013,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -4068,7 +4063,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -4088,14 +4083,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -4180,21 +4175,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -4215,7 +4210,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -4257,7 +4252,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -4272,7 +4267,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -4287,7 +4282,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -4301,7 +4296,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -4329,14 +4324,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -4425,7 +4420,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -4440,7 +4435,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -4455,7 +4450,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -4593,7 +4588,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -4650,7 +4645,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -4671,7 +4666,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -4721,7 +4716,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -4741,14 +4736,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -4833,21 +4828,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -4868,7 +4863,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -4910,7 +4905,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -4925,7 +4920,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -4940,7 +4935,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -4954,7 +4949,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -4982,14 +4977,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -5078,7 +5073,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -5093,7 +5088,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -5108,7 +5103,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -5242,7 +5237,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -5299,7 +5294,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -5320,7 +5315,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -5370,7 +5365,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -5390,14 +5385,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -5482,21 +5477,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -5517,7 +5512,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -5559,7 +5554,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -5574,7 +5569,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -5589,7 +5584,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -5603,7 +5598,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -5631,14 +5626,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -5727,7 +5722,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -5742,7 +5737,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -5757,7 +5752,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -5891,7 +5886,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -5948,7 +5943,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -5969,7 +5964,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -6019,7 +6014,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -6039,14 +6034,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -6131,21 +6126,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -6166,7 +6161,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -6208,7 +6203,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -6223,7 +6218,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -6238,7 +6233,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -6252,7 +6247,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -6280,14 +6275,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -6376,7 +6371,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -6391,7 +6386,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -6406,7 +6401,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -6532,7 +6527,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -6589,7 +6584,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -6610,7 +6605,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -6660,7 +6655,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -6680,14 +6675,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -6772,21 +6767,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -6807,7 +6802,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -6849,7 +6844,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -6864,7 +6859,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -6879,7 +6874,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -6893,7 +6888,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -6921,14 +6916,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -7017,7 +7012,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -7032,7 +7027,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -7047,7 +7042,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -7173,7 +7168,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -7230,7 +7225,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -7251,7 +7246,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -7301,7 +7296,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -7321,14 +7316,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -7413,21 +7408,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -7448,7 +7443,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -7490,7 +7485,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -7505,7 +7500,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -7520,7 +7515,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -7534,7 +7529,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -7562,14 +7557,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -7658,7 +7653,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -7673,7 +7668,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -7688,7 +7683,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -7814,7 +7809,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -7871,7 +7866,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -7892,7 +7887,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -7942,7 +7937,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -7962,14 +7957,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -8054,21 +8049,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -8089,7 +8084,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -8131,7 +8126,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -8146,7 +8141,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -8161,7 +8156,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -8175,7 +8170,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -8203,14 +8198,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -8299,7 +8294,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -8314,7 +8309,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -8329,7 +8324,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -8459,7 +8454,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -8516,7 +8511,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -8537,7 +8532,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -8587,7 +8582,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -8607,14 +8602,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -8699,21 +8694,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -8734,7 +8729,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -8776,7 +8771,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -8791,7 +8786,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -8806,7 +8801,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -8820,7 +8815,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -8848,14 +8843,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -8944,7 +8939,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -8959,7 +8954,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -8974,7 +8969,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -9108,7 +9103,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -9165,7 +9160,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -9186,7 +9181,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -9236,7 +9231,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -9256,14 +9251,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -9348,21 +9343,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -9383,7 +9378,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -9425,7 +9420,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -9440,7 +9435,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -9455,7 +9450,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -9469,7 +9464,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -9497,14 +9492,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -9593,7 +9588,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -9608,7 +9603,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -9623,7 +9618,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -9702,7 +9697,7 @@ definition: description: The range value type: type: named - name: RangeResolution + name: Duration t: description: Number of seconds from now type: @@ -9762,7 +9757,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -9819,7 +9814,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -9840,7 +9835,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -9890,7 +9885,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -9910,14 +9905,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -10002,21 +9997,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -10037,7 +10032,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -10079,7 +10074,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -10094,7 +10089,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -10109,7 +10104,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -10123,7 +10118,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -10151,14 +10146,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -10247,7 +10242,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -10262,7 +10257,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -10277,7 +10272,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -10403,7 +10398,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -10460,7 +10455,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -10481,7 +10476,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -10531,7 +10526,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -10551,14 +10546,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -10643,21 +10638,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -10678,7 +10673,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -10720,7 +10715,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -10735,7 +10730,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -10750,7 +10745,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -10764,7 +10759,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -10792,14 +10787,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -10888,7 +10883,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -10903,7 +10898,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -10918,7 +10913,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -11044,7 +11039,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -11101,7 +11096,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -11122,7 +11117,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -11172,7 +11167,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -11192,14 +11187,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -11284,21 +11279,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -11319,7 +11314,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -11361,7 +11356,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -11376,7 +11371,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -11391,7 +11386,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -11405,7 +11400,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -11433,14 +11428,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -11529,7 +11524,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -11544,7 +11539,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -11559,7 +11554,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -11685,7 +11680,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -11742,7 +11737,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -11763,7 +11758,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -11813,7 +11808,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -11833,14 +11828,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -11925,21 +11920,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -11960,7 +11955,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -12002,7 +11997,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -12017,7 +12012,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -12032,7 +12027,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -12046,7 +12041,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -12074,14 +12069,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -12170,7 +12165,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -12185,7 +12180,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -12200,7 +12195,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -12326,7 +12321,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -12383,7 +12378,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -12404,7 +12399,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -12454,7 +12449,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -12474,14 +12469,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -12566,21 +12561,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -12601,7 +12596,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -12643,7 +12638,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -12658,7 +12653,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -12673,7 +12668,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -12687,7 +12682,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -12715,14 +12710,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -12811,7 +12806,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -12826,7 +12821,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -12841,7 +12836,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -12967,7 +12962,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -13024,7 +13019,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -13045,7 +13040,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -13095,7 +13090,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -13115,14 +13110,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -13207,21 +13202,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -13242,7 +13237,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -13284,7 +13279,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -13299,7 +13294,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -13314,7 +13309,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -13328,7 +13323,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -13356,14 +13351,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -13452,7 +13447,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -13467,7 +13462,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -13482,7 +13477,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -13608,7 +13603,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -13665,7 +13660,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -13686,7 +13681,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -13736,7 +13731,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -13756,14 +13751,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -13848,21 +13843,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -13883,7 +13878,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -13925,7 +13920,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -13940,7 +13935,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -13955,7 +13950,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -13969,7 +13964,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -13997,14 +13992,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -14093,7 +14088,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -14108,7 +14103,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -14123,7 +14118,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -14249,7 +14244,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -14306,7 +14301,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -14327,7 +14322,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -14377,7 +14372,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -14397,14 +14392,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -14489,21 +14484,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -14524,7 +14519,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -14566,7 +14561,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -14581,7 +14576,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -14596,7 +14591,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -14610,7 +14605,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -14638,14 +14633,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -14734,7 +14729,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -14749,7 +14744,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -14764,7 +14759,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -14890,7 +14885,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -14947,7 +14942,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -14968,7 +14963,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -15018,7 +15013,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -15038,14 +15033,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -15130,21 +15125,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -15165,7 +15160,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -15207,7 +15202,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -15222,7 +15217,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -15237,7 +15232,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -15251,7 +15246,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -15279,14 +15274,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -15375,7 +15370,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -15390,7 +15385,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -15405,7 +15400,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -15562,7 +15557,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -15619,7 +15614,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -15640,7 +15635,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -15690,7 +15685,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -15710,14 +15705,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -15802,21 +15797,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -15837,7 +15832,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -15879,7 +15874,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -15894,7 +15889,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -15909,7 +15904,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -15923,7 +15918,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -15951,14 +15946,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -16047,7 +16042,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -16062,7 +16057,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -16077,7 +16072,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -16203,7 +16198,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -16260,7 +16255,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -16281,7 +16276,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -16331,7 +16326,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -16351,14 +16346,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -16443,21 +16438,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -16478,7 +16473,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -16520,7 +16515,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -16535,7 +16530,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -16550,7 +16545,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -16564,7 +16559,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -16592,14 +16587,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -16688,7 +16683,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -16703,7 +16698,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -16718,7 +16713,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -16848,7 +16843,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -16905,7 +16900,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -16926,7 +16921,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -16976,7 +16971,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -16996,14 +16991,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -17088,21 +17083,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -17123,7 +17118,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -17165,7 +17160,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -17180,7 +17175,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -17195,7 +17190,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -17209,7 +17204,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -17237,14 +17232,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -17333,7 +17328,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -17348,7 +17343,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -17363,7 +17358,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: @@ -17447,7 +17442,7 @@ definition: description: The range value type: type: named - name: RangeResolution + name: Duration QueryResultValue: description: A value of the query result fields: @@ -17620,7 +17615,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration acos: description: Calculates the arccosine of all elements in v type: @@ -17677,7 +17672,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration bottomk: description: Smallest k elements by sample value type: @@ -17698,7 +17693,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration clamp: description: Clamps the sample values of all elements in v to have a lower limit of min and an upper limit of max type: @@ -17748,7 +17743,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration count_values: type: type: nullable @@ -17768,14 +17763,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration deriv: description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration exp: description: Calculates the exponential function for all elements in v type: @@ -17860,21 +17855,21 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration increase: description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration irate: description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration label_join: description: Joins all the values of all the src_labels using separator and returns the timeseries with the label dst_label containing the joined value type: @@ -17895,7 +17890,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration limit_ratio: description: "Sample elements with approximately \U0001D45F ratio if \U0001D45F > 0, and the complement of such samples if \U0001D45F = -(1.0 - \U0001D45F))" type: @@ -17937,7 +17932,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration max: type: type: nullable @@ -17952,7 +17947,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration min: type: type: nullable @@ -17967,7 +17962,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration predict_linear: description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression type: @@ -17981,7 +17976,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration quantile: description: Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions type: @@ -18009,14 +18004,14 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration resets: description: Returns the number of counter resets within the provided time range as an instant vector type: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration round: description: Rounds the sample values of all elements in v to the nearest integer type: @@ -18105,7 +18100,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration stdvar: type: type: nullable @@ -18120,7 +18115,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration sum: type: type: nullable @@ -18135,7 +18130,7 @@ definition: type: nullable underlying_type: type: named - name: RangeResolution + name: Duration tan: description: Calculates the tangent of all elements in v type: diff --git a/tests/engine/app/metadata/promhttp_metric_handler_errors_total.hml b/tests/engine/app/metadata/promhttp_metric_handler_errors_total.hml index fa1951e..df3af59 100644 --- a/tests/engine/app/metadata/promhttp_metric_handler_errors_total.hml +++ b/tests/engine/app/metadata/promhttp_metric_handler_errors_total.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[PromhttpMetricHandlerErrorsTotalLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[PromhttpMetricHandlerErrorsTotalLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: PromhttpMetricHandlerErrorsTotalLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[PromhttpMetricHandlerErrorsTotalLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[PromhttpMetricHandlerErrorsTotalLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[PromhttpMetricHandlerErrorsTotalLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[PromhttpMetricHandlerErrorsTotalLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[PromhttpMetricHandlerErrorsTotalLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/promhttp_metric_handler_requests_in_flight.hml b/tests/engine/app/metadata/promhttp_metric_handler_requests_in_flight.hml index 7389e72..dd0fd19 100644 --- a/tests/engine/app/metadata/promhttp_metric_handler_requests_in_flight.hml +++ b/tests/engine/app/metadata/promhttp_metric_handler_requests_in_flight.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[PromhttpMetricHandlerRequestsInFlightLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[PromhttpMetricHandlerRequestsInFlightLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: PromhttpMetricHandlerRequestsInFlightLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[PromhttpMetricHandlerRequestsInFlightLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[PromhttpMetricHandlerRequestsInFlightLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[PromhttpMetricHandlerRequestsInFlightLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[PromhttpMetricHandlerRequestsInFlightLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[PromhttpMetricHandlerRequestsInFlightLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/promhttp_metric_handler_requests_total.hml b/tests/engine/app/metadata/promhttp_metric_handler_requests_total.hml index 580fc43..0e6d204 100644 --- a/tests/engine/app/metadata/promhttp_metric_handler_requests_total.hml +++ b/tests/engine/app/metadata/promhttp_metric_handler_requests_total.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[PromhttpMetricHandlerRequestsTotalLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[PromhttpMetricHandlerRequestsTotalLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: PromhttpMetricHandlerRequestsTotalLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[PromhttpMetricHandlerRequestsTotalLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[PromhttpMetricHandlerRequestsTotalLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[PromhttpMetricHandlerRequestsTotalLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[PromhttpMetricHandlerRequestsTotalLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[PromhttpMetricHandlerRequestsTotalLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean diff --git a/tests/engine/app/metadata/target_info.hml b/tests/engine/app/metadata/target_info.hml index 52bc6fe..f33e4bd 100644 --- a/tests/engine/app/metadata/target_info.hml +++ b/tests/engine/app/metadata/target_info.hml @@ -90,7 +90,7 @@ definition: (floats or native histograms) and a 1-element vector with the value 1 if the vector passed to it has no elements - name: absent_over_time - type: RangeResolution + type: Duration description: Returns an empty vector if the range vector passed to it has any elements (floats or native histograms) and a 1-element vector with the value 1 if the range vector passed to it has no elements @@ -115,7 +115,7 @@ definition: - name: avg type: "[TargetInfoLabel!]" - name: avg_over_time - type: RangeResolution + type: Duration description: The average value of all points in the specified interval - name: bottomk type: Int64 @@ -125,7 +125,7 @@ definition: description: Rounds the sample values of all elements in v up to the nearest integer value greater than or equal to v - name: changes - type: RangeResolution + type: Duration description: Returns the number of times its value has changed within the provided time range as an instant vector - name: clamp @@ -149,7 +149,7 @@ definition: - name: count type: "[TargetInfoLabel!]" - name: count_over_time - type: RangeResolution + type: Duration description: The count of all values in the specified interval - name: count_values type: TargetInfoLabel @@ -157,12 +157,12 @@ definition: type: Boolean description: Converts radians to degrees for all elements in v - name: delta - type: RangeResolution + type: Duration description: Calculates the difference between the first and last value of each time series element in a range vector v, returning an instant vector with the given deltas and equivalent labels - name: deriv - type: RangeResolution + type: Duration description: Calculates the per-second derivative of the time series in a range vector v, using simple linear regression - name: exp @@ -210,17 +210,17 @@ definition: type: HoltWintersInput description: Produces a smoothed value for time series based on the range in v - name: idelta - type: RangeResolution + type: Duration description: Calculates the difference between the last two samples in the range vector v, returning an instant vector with the given deltas and equivalent labels - name: increase - type: RangeResolution + type: Duration description: Calculates the increase in the time series in the range vector. Breaks in monotonicity (such as counter resets due to target restarts) are automatically adjusted for - name: irate - type: RangeResolution + type: Duration description: Calculates the per-second instant rate of increase of the time series in the range vector. This is based on the last two data points - name: label_join @@ -235,7 +235,7 @@ definition: returned timeseries will be the expansion of replacement, together with the original labels in the input - name: last_over_time - type: RangeResolution + type: Duration description: The most recent point value in the specified interval - name: limit_ratio type: Float64 @@ -254,24 +254,24 @@ definition: type: Boolean description: Calculates the decimal logarithm for all elements in v - name: mad_over_time - type: RangeResolution + type: Duration description: The median absolute deviation of all points in the specified interval - name: max type: "[TargetInfoLabel!]" - name: max_over_time - type: RangeResolution + type: Duration description: The maximum value of all points in the specified interval - name: min type: "[TargetInfoLabel!]" - name: min_over_time - type: RangeResolution + type: Duration description: The minimum value of all points in the specified interval - name: predict_linear type: PredictLinearInput description: Predicts the value of time series t seconds from now, based on the range vector v, using simple linear regression - name: present_over_time - type: RangeResolution + type: Duration description: The value 1 for any series in the specified interval - name: quantile type: Float64 @@ -283,11 +283,11 @@ definition: type: Boolean description: Converts degrees to radians for all elements in v - name: rate - type: RangeResolution + type: Duration description: Calculates the per-second average rate of increase of the time series in the range vector - name: resets - type: RangeResolution + type: Duration description: Returns the number of counter resets within the provided time range as an instant vector - name: round @@ -327,17 +327,17 @@ definition: - name: stddev type: "[TargetInfoLabel!]" - name: stddev_over_time - type: RangeResolution + type: Duration description: The population standard deviation of the values in the specified interval - name: stdvar type: "[TargetInfoLabel!]" - name: stdvar_over_time - type: RangeResolution + type: Duration description: The population standard variance of the values in the specified interval - name: sum type: "[TargetInfoLabel!]" - name: sum_over_time - type: RangeResolution + type: Duration description: The sum of all values in the specified interval - name: tan type: Boolean