Amazon X-Ray · Schema

SamplingStrategy

The name and value of a sampling rule to apply to a trace summary.

Application PerformanceDebuggingDistributed TracingMonitoringObservability

Properties

Name Type Description
Name object
Value object
View JSON Schema on GitHub

JSON Schema

xray-sampling-strategy-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "Name": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SamplingStrategyName"
        },
        {
          "description": "The name of a sampling rule."
        }
      ]
    },
    "Value": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NullableDouble"
        },
        {
          "description": "The value of a sampling rule."
        }
      ]
    }
  },
  "description": "The name and value of a sampling rule to apply to a trace summary.",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SamplingStrategy",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-xray/refs/heads/main/json-schema/xray-sampling-strategy-schema.json"
}