Observability

Observability metadata

Observability - Metrics

Observability - Metrics

下面您可以找到此项目声明的所有指标的列表。

Below you can find a list of all metrics declared by this project.

Task Active

围绕任务执行创建的指标。

Metrics created around a task execution.

度量名称 spring.cloud.task(由惯例类 org.springframework.cloud.task.listener.DefaultTaskExecutionObservationConvention 定义)。类型 计时器

Metric name spring.cloud.task (defined by convention class org.springframework.cloud.task.listener.DefaultTaskExecutionObservationConvention). Type timer.

度量名称 spring.cloud.task.active(由惯例类 org.springframework.cloud.task.listener.DefaultTaskExecutionObservationConvention 定义)。类型 长任务计时器

Metric name spring.cloud.task.active (defined by convention class org.springframework.cloud.task.listener.DefaultTaskExecutionObservationConvention). Type long task timer.

在 Observation 启动后添加的 KeyValues 可能会缺失于 *.active 指标。

KeyValues that are added after starting the Observation might be missing from the *.active metrics.

Micrometer 内部使用 nanoseconds 作为基本单位。但是,每个后端决定实际基本单位。(例如,Prometheus 使用秒)

Micrometer internally uses nanoseconds for the baseunit. However, each backend determines the actual baseunit. (i.e. Prometheus uses seconds)

包含类的完全限定名 org.springframework.cloud.task.listener.TaskExecutionObservation

Fully qualified name of the enclosing class org.springframework.cloud.task.listener.TaskExecutionObservation.

所有标记必须以 spring.cloud.task 前缀为前缀!

All tags must be prefixed with spring.cloud.task prefix!

Table 1. Low cardinality Keys

Name

Description

spring.cloud.task.cf.app.id (required)

App id for CF cloud.

spring.cloud.task.cf.app.name (required)

App name for CF cloud.

spring.cloud.task.cf.app.version (required)

App version for CF cloud.

spring.cloud.task.cf.instance.index (required)

Instance index for CF cloud.

spring.cloud.task.cf.org.name (required)

Organization Name for CF cloud.

spring.cloud.task.cf.space.id (required)

Space id for CF cloud.

spring.cloud.task.cf.space.name (required)

Space name for CF cloud.

spring.cloud.task.execution.id (required)

Task execution id.

spring.cloud.task.exit.code (required)

Task exit code.

spring.cloud.task.external.execution.id (required)

External execution id for task.

spring.cloud.task.name (required)

Task name measurement.

spring.cloud.task.parent.execution.id (required)

Task parent execution id.

spring.cloud.task.status (required)

task status. Can be either success or failure.

Task Runner Observation

在执行任务运行器时创建观察。

Observation created when a task runner is executed.

度量名称 spring.cloud.task.runner(由惯例类 org.springframework.cloud.task.configuration.observation.DefaultTaskObservationConvention 定义)。类型 计时器

Metric name spring.cloud.task.runner (defined by convention class org.springframework.cloud.task.configuration.observation.DefaultTaskObservationConvention). Type timer.

度量名称 spring.cloud.task.runner.active(由惯例类 org.springframework.cloud.task.configuration.observation.DefaultTaskObservationConvention 定义)。类型 长任务计时器

Metric name spring.cloud.task.runner.active (defined by convention class org.springframework.cloud.task.configuration.observation.DefaultTaskObservationConvention). Type long task timer.

在 Observation 启动后添加的 KeyValues 可能会缺失于 *.active 指标。

KeyValues that are added after starting the Observation might be missing from the *.active metrics.

Micrometer 内部使用 nanoseconds 作为基本单位。但是,每个后端决定实际基本单位。(例如,Prometheus 使用秒)

Micrometer internally uses nanoseconds for the baseunit. However, each backend determines the actual baseunit. (i.e. Prometheus uses seconds)

封闭类的完全限定名称 org.springframework.cloud.task.configuration.observation.TaskDocumentedObservation

Fully qualified name of the enclosing class org.springframework.cloud.task.configuration.observation.TaskDocumentedObservation.

所有标记必须以 spring.cloud.task 前缀为前缀!

All tags must be prefixed with spring.cloud.task prefix!

Table 2. Low cardinality Keys

Name

Description

spring.cloud.task.runner.bean-name (required)

Name of the bean that was executed by Spring Cloud Task.

Observability - Spans

Observability - Spans

下面您可以找到此项目声明的所有 span 的列表。

Below you can find a list of all spans declared by this project.

Task Active Span

围绕任务执行创建的指标。

Metrics created around a task execution.

跨度名称 spring.cloud.task(由约定类 org.springframework.cloud.task.listener.DefaultTaskExecutionObservationConvention 定义)。

Span name spring.cloud.task (defined by convention class org.springframework.cloud.task.listener.DefaultTaskExecutionObservationConvention).

包含类的完全限定名 org.springframework.cloud.task.listener.TaskExecutionObservation

Fully qualified name of the enclosing class org.springframework.cloud.task.listener.TaskExecutionObservation.

所有标记必须以 spring.cloud.task 前缀为前缀!

All tags must be prefixed with spring.cloud.task prefix!

Table 3. Tag Keys

Name

Description

spring.cloud.task.cf.app.id (required)

App id for CF cloud.

spring.cloud.task.cf.app.name (required)

App name for CF cloud.

spring.cloud.task.cf.app.version (required)

App version for CF cloud.

spring.cloud.task.cf.instance.index (required)

Instance index for CF cloud.

spring.cloud.task.cf.org.name (required)

Organization Name for CF cloud.

spring.cloud.task.cf.space.id (required)

Space id for CF cloud.

spring.cloud.task.cf.space.name (required)

Space name for CF cloud.

spring.cloud.task.execution.id (required)

Task execution id.

spring.cloud.task.exit.code (required)

Task exit code.

spring.cloud.task.external.execution.id (required)

External execution id for task.

spring.cloud.task.name (required)

Task name measurement.

spring.cloud.task.parent.execution.id (required)

Task parent execution id.

spring.cloud.task.status (required)

task status. Can be either success or failure.

Task Runner Observation Span

在执行任务运行器时创建观察。

Observation created when a task runner is executed.

跨度名称 spring.cloud.task.runner(由约定类 org.springframework.cloud.task.configuration.observation.DefaultTaskObservationConvention 定义)。

Span name spring.cloud.task.runner (defined by convention class org.springframework.cloud.task.configuration.observation.DefaultTaskObservationConvention).

封闭类的完全限定名称 org.springframework.cloud.task.configuration.observation.TaskDocumentedObservation

Fully qualified name of the enclosing class org.springframework.cloud.task.configuration.observation.TaskDocumentedObservation.

所有标记必须以 spring.cloud.task 前缀为前缀!

All tags must be prefixed with spring.cloud.task prefix!

Table 4. Tag Keys

Name

Description

spring.cloud.task.runner.bean-name (required)

Name of the bean that was executed by Spring Cloud Task.