Updated on 2023-12-13 GMT+08:00

APM.Pinpoint

Element Description

The APM.Pinpoint element is used to orchestrate a stack containing the Pinpoint monitoring policy. After the stack is successfully deployed, you can view the monitoring group and monitoring details of the applications in the stack on the monitoring page.

Element Properties

Table 1 Property Description

Property

Required

Descripiton

name

Yes

Tracing probe name

Type: string

Value Description: Supports customization.

Value Constraint: The following requirement must be met: {"^[a-zA-Z][0-9a-zA-Z-_]*$"}.

Suggestion: Customize the value.

Relationships Between Elements

None.

Return Value

None.

Blueprint Example

tosca_definitions_version: huaweicloud_tosca_version_1_0
inputs:
  images:
    type: string
  instances:
    default: 1
    type: integer
node_templates:
  containercomponent-2:
    type: HuaweiCloud.ServiceStage.ContainerComponent
    properties:
      package:
        image:
          get_input: images
        imagePullPolicy: Always
        lifecycle:
          postStart:
            - '/bin/bash'
            - '-c'
            - touch aos
          preStop:
            - '/bin/bash'
            - '-c'
            - sleep 60
  statelessapplication-1:
    type: HuaweiCloud.ServiceStage.StatelessApplication
    properties:
      affinitySelector:
        affinities:
          antiself: false
      instances:
        get_input: instances
      type: container
    requirements:
      - package:
          node: containercomponent-2
          relationship: HuaweiCloud.Relationships.PackageConsistsOf
policies:
  test-apm:
    type: HuaweiCloud.APM.Pinpoint
    properties:
      name: test
    targets:
      - statelessapplication-1