Skip to main content
GET
/
api
/
v1
/
config
/
trace-tail-sampling-rules
{
  "trace_tail_sampling_rules": {
    "created_at": "2023-11-07T05:31:56Z",
    "default_sample_rate": {
      "enabled": true,
      "sample_rate": 123
    },
    "rules": [
      {
        "created_at": "2023-11-07T05:31:56Z",
        "filter": {
          "scope_filter": {
            "span_scopes": [
              {
                "duration": {
                  "max_secs": 123,
                  "min_secs": 123
                },
                "error": {
                  "value": true
                },
                "is_root_span": {
                  "value": true
                },
                "match_type": "INCLUDE",
                "operation": {
                  "in_values": [
                    "<string>"
                  ],
                  "match": "EXACT",
                  "value": "<string>"
                },
                "parent_operation": {
                  "in_values": [
                    "<string>"
                  ],
                  "match": "EXACT",
                  "value": "<string>"
                },
                "parent_service": {
                  "in_values": [
                    "<string>"
                  ],
                  "match": "EXACT",
                  "value": "<string>"
                },
                "service": {
                  "in_values": [
                    "<string>"
                  ],
                  "match": "EXACT",
                  "value": "<string>"
                },
                "span_count": {
                  "max": 123,
                  "min": 123
                },
                "tags": [
                  {
                    "key": "<string>",
                    "numeric_value": {
                      "comparison": "EQUAL",
                      "value": 123
                    },
                    "value": {
                      "in_values": [
                        "<string>"
                      ],
                      "match": "EXACT",
                      "value": "<string>"
                    }
                  }
                ]
              }
            ]
          },
          "span": [
            {
              "duration": {
                "max_secs": 123,
                "min_secs": 123
              },
              "error": {
                "value": true
              },
              "is_root_span": {
                "value": true
              },
              "match_type": "INCLUDE",
              "operation": {
                "in_values": [
                  "<string>"
                ],
                "match": "EXACT",
                "value": "<string>"
              },
              "parent_operation": {
                "in_values": [
                  "<string>"
                ],
                "match": "EXACT",
                "value": "<string>"
              },
              "parent_service": {
                "in_values": [
                  "<string>"
                ],
                "match": "EXACT",
                "value": "<string>"
              },
              "service": {
                "in_values": [
                  "<string>"
                ],
                "match": "EXACT",
                "value": "<string>"
              },
              "span_count": {
                "max": 123,
                "min": 123
              },
              "tags": [
                {
                  "key": "<string>",
                  "numeric_value": {
                    "comparison": "EQUAL",
                    "value": 123
                  },
                  "value": {
                    "in_values": [
                      "<string>"
                    ],
                    "match": "EXACT",
                    "value": "<string>"
                  }
                }
              ]
            }
          ],
          "trace": {
            "duration": {
              "max_secs": 123,
              "min_secs": 123
            },
            "error": {
              "value": true
            }
          }
        },
        "name": "<string>",
        "sample_rate": 123,
        "system_name": "<string>",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ],
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Response

A successful response.

trace_tail_sampling_rules
object

Root object containing all tail sampling rules (for a tenant).