1. Packages
  2. Packages
  3. Chronosphere
  4. API Docs
  5. TraceJaegerRemoteSamplingStrategy
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere

    Per-service Jaeger remote sampling strategy (probabilistic, rate-limiting, or per-operation) served to instrumented applications so they can sample traces at the configured rate.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pulumi = Chronosphere.Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        var probabilistic = new Pulumi.TraceJaegerRemoteSamplingStrategy("probabilistic", new()
        {
            AppliedStrategy = new Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs
            {
                ProbabilisticStrategy = new Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs
                {
                    SamplingRate = 0.01,
                },
            },
            Name = "Probabilistic sampling for service A",
            ServiceName = "service-a",
        });
    
        var rateLimited = new Pulumi.TraceJaegerRemoteSamplingStrategy("rateLimited", new()
        {
            AppliedStrategy = new Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs
            {
                RateLimitingStrategy = new Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs
                {
                    MaxTracesPerSecond = 2,
                },
            },
            Name = "Rate-limited sampling for service B",
            ServiceName = "service-b",
        });
    
    });
    
    package main
    
    import (
    	"github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := chronosphere.NewTraceJaegerRemoteSamplingStrategy(ctx, "probabilistic", &chronosphere.TraceJaegerRemoteSamplingStrategyArgs{
    			AppliedStrategy: &chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs{
    				ProbabilisticStrategy: &chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs{
    					SamplingRate: pulumi.Float64(0.01),
    				},
    			},
    			Name:        pulumi.String("Probabilistic sampling for service A"),
    			ServiceName: pulumi.String("service-a"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = chronosphere.NewTraceJaegerRemoteSamplingStrategy(ctx, "rateLimited", &chronosphere.TraceJaegerRemoteSamplingStrategyArgs{
    			AppliedStrategy: &chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs{
    				RateLimitingStrategy: &chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs{
    					MaxTracesPerSecond: pulumi.Int(2),
    				},
    			},
    			Name:        pulumi.String("Rate-limited sampling for service B"),
    			ServiceName: pulumi.String("service-b"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.chronosphere.TraceJaegerRemoteSamplingStrategy;
    import com.pulumi.chronosphere.TraceJaegerRemoteSamplingStrategyArgs;
    import com.pulumi.chronosphere.inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs;
    import com.pulumi.chronosphere.inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs;
    import com.pulumi.chronosphere.inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var probabilistic = new TraceJaegerRemoteSamplingStrategy("probabilistic", TraceJaegerRemoteSamplingStrategyArgs.builder()        
                .appliedStrategy(TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs.builder()
                    .probabilisticStrategy(TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs.builder()
                        .samplingRate(0.01)
                        .build())
                    .build())
                .name("Probabilistic sampling for service A")
                .serviceName("service-a")
                .build());
    
            var rateLimited = new TraceJaegerRemoteSamplingStrategy("rateLimited", TraceJaegerRemoteSamplingStrategyArgs.builder()        
                .appliedStrategy(TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs.builder()
                    .rateLimitingStrategy(TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs.builder()
                        .maxTracesPerSecond(2)
                        .build())
                    .build())
                .name("Rate-limited sampling for service B")
                .serviceName("service-b")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as chronosphere from "@pulumi-chronosphere/pulumi-chronosphere";
    
    const probabilistic = new chronosphere.TraceJaegerRemoteSamplingStrategy("probabilistic", {
        appliedStrategy: {
            probabilisticStrategy: {
                samplingRate: 0.01,
            },
        },
        name: "Probabilistic sampling for service A",
        serviceName: "service-a",
    });
    const rateLimited = new chronosphere.TraceJaegerRemoteSamplingStrategy("rateLimited", {
        appliedStrategy: {
            rateLimitingStrategy: {
                maxTracesPerSecond: 2,
            },
        },
        name: "Rate-limited sampling for service B",
        serviceName: "service-b",
    });
    
    import pulumi
    import pulumi_chronosphere as chronosphere
    
    probabilistic = chronosphere.TraceJaegerRemoteSamplingStrategy("probabilistic",
        applied_strategy=chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs(
            probabilistic_strategy=chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs(
                sampling_rate=0.01,
            ),
        ),
        name="Probabilistic sampling for service A",
        service_name="service-a")
    rate_limited = chronosphere.TraceJaegerRemoteSamplingStrategy("rateLimited",
        applied_strategy=chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs(
            rate_limiting_strategy=chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs(
                max_traces_per_second=2,
            ),
        ),
        name="Rate-limited sampling for service B",
        service_name="service-b")
    
    resources:
      probabilistic:
        type: chronosphere:TraceJaegerRemoteSamplingStrategy
        properties:
          appliedStrategy:
            probabilisticStrategy:
              samplingRate: 0.01
          name: Probabilistic sampling for service A
          serviceName: service-a
      rateLimited:
        type: chronosphere:TraceJaegerRemoteSamplingStrategy
        properties:
          appliedStrategy:
            rateLimitingStrategy:
              maxTracesPerSecond: 2
          name: Rate-limited sampling for service B
          serviceName: service-b
    

    Create TraceJaegerRemoteSamplingStrategy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TraceJaegerRemoteSamplingStrategy(name: string, args: TraceJaegerRemoteSamplingStrategyArgs, opts?: CustomResourceOptions);
    @overload
    def TraceJaegerRemoteSamplingStrategy(resource_name: str,
                                          args: TraceJaegerRemoteSamplingStrategyArgs,
                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def TraceJaegerRemoteSamplingStrategy(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          applied_strategy: Optional[TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs] = None,
                                          name: Optional[str] = None,
                                          service_name: Optional[str] = None,
                                          slug: Optional[str] = None)
    func NewTraceJaegerRemoteSamplingStrategy(ctx *Context, name string, args TraceJaegerRemoteSamplingStrategyArgs, opts ...ResourceOption) (*TraceJaegerRemoteSamplingStrategy, error)
    public TraceJaegerRemoteSamplingStrategy(string name, TraceJaegerRemoteSamplingStrategyArgs args, CustomResourceOptions? opts = null)
    public TraceJaegerRemoteSamplingStrategy(String name, TraceJaegerRemoteSamplingStrategyArgs args)
    public TraceJaegerRemoteSamplingStrategy(String name, TraceJaegerRemoteSamplingStrategyArgs args, CustomResourceOptions options)
    
    type: chronosphere:TraceJaegerRemoteSamplingStrategy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "chronosphere_tracejaegerremotesamplingstrategy" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TraceJaegerRemoteSamplingStrategyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TraceJaegerRemoteSamplingStrategyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TraceJaegerRemoteSamplingStrategyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TraceJaegerRemoteSamplingStrategyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TraceJaegerRemoteSamplingStrategyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var traceJaegerRemoteSamplingStrategyResource = new Pulumi.TraceJaegerRemoteSamplingStrategy("traceJaegerRemoteSamplingStrategyResource", new()
    {
        AppliedStrategy = new Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs
        {
            PerOperationStrategies = new Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs
            {
                DefaultSamplingRate = 0,
                DefaultLowerBoundTracesPerSecond = 0,
                DefaultUpperBoundTracesPerSecond = 0,
                PerOperationStrategies = new[]
                {
                    new Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs
                    {
                        Operation = "string",
                        ProbabilisticStrategy = new Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs
                        {
                            SamplingRate = 0,
                        },
                    },
                },
            },
            ProbabilisticStrategy = new Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs
            {
                SamplingRate = 0,
            },
            RateLimitingStrategy = new Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs
            {
                MaxTracesPerSecond = 0,
            },
        },
        Name = "string",
        ServiceName = "string",
        Slug = "string",
    });
    
    example, err := chronosphere.NewTraceJaegerRemoteSamplingStrategy(ctx, "traceJaegerRemoteSamplingStrategyResource", &chronosphere.TraceJaegerRemoteSamplingStrategyArgs{
    	AppliedStrategy: &chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs{
    		PerOperationStrategies: &chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs{
    			DefaultSamplingRate:              pulumi.Float64(0),
    			DefaultLowerBoundTracesPerSecond: pulumi.Float64(0),
    			DefaultUpperBoundTracesPerSecond: pulumi.Float64(0),
    			PerOperationStrategies: chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArray{
    				&chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs{
    					Operation: pulumi.String("string"),
    					ProbabilisticStrategy: &chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs{
    						SamplingRate: pulumi.Float64(0),
    					},
    				},
    			},
    		},
    		ProbabilisticStrategy: &chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs{
    			SamplingRate: pulumi.Float64(0),
    		},
    		RateLimitingStrategy: &chronosphere.TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs{
    			MaxTracesPerSecond: pulumi.Int(0),
    		},
    	},
    	Name:        pulumi.String("string"),
    	ServiceName: pulumi.String("string"),
    	Slug:        pulumi.String("string"),
    })
    
    resource "chronosphere_tracejaegerremotesamplingstrategy" "traceJaegerRemoteSamplingStrategyResource" {
      applied_strategy = {
        per_operation_strategies = {
          default_sampling_rate                 = 0
          default_lower_bound_traces_per_second = 0
          default_upper_bound_traces_per_second = 0
          per_operation_strategies = [{
            "operation" = "string"
            "probabilisticStrategy" = {
              "samplingRate" = 0
            }
          }]
        }
        probabilistic_strategy = {
          sampling_rate = 0
        }
        rate_limiting_strategy = {
          max_traces_per_second = 0
        }
      }
      name         = "string"
      service_name = "string"
      slug         = "string"
    }
    
    var traceJaegerRemoteSamplingStrategyResource = new TraceJaegerRemoteSamplingStrategy("traceJaegerRemoteSamplingStrategyResource", TraceJaegerRemoteSamplingStrategyArgs.builder()
        .appliedStrategy(TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs.builder()
            .perOperationStrategies(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs.builder()
                .defaultSamplingRate(0.0)
                .defaultLowerBoundTracesPerSecond(0.0)
                .defaultUpperBoundTracesPerSecond(0.0)
                .perOperationStrategies(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs.builder()
                    .operation("string")
                    .probabilisticStrategy(TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs.builder()
                        .samplingRate(0.0)
                        .build())
                    .build())
                .build())
            .probabilisticStrategy(TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs.builder()
                .samplingRate(0.0)
                .build())
            .rateLimitingStrategy(TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs.builder()
                .maxTracesPerSecond(0)
                .build())
            .build())
        .name("string")
        .serviceName("string")
        .slug("string")
        .build());
    
    trace_jaeger_remote_sampling_strategy_resource = chronosphere.TraceJaegerRemoteSamplingStrategy("traceJaegerRemoteSamplingStrategyResource",
        applied_strategy={
            "per_operation_strategies": {
                "default_sampling_rate": float(0),
                "default_lower_bound_traces_per_second": float(0),
                "default_upper_bound_traces_per_second": float(0),
                "per_operation_strategies": [{
                    "operation": "string",
                    "probabilistic_strategy": {
                        "sampling_rate": float(0),
                    },
                }],
            },
            "probabilistic_strategy": {
                "sampling_rate": float(0),
            },
            "rate_limiting_strategy": {
                "max_traces_per_second": 0,
            },
        },
        name="string",
        service_name="string",
        slug="string")
    
    const traceJaegerRemoteSamplingStrategyResource = new chronosphere.TraceJaegerRemoteSamplingStrategy("traceJaegerRemoteSamplingStrategyResource", {
        appliedStrategy: {
            perOperationStrategies: {
                defaultSamplingRate: 0,
                defaultLowerBoundTracesPerSecond: 0,
                defaultUpperBoundTracesPerSecond: 0,
                perOperationStrategies: [{
                    operation: "string",
                    probabilisticStrategy: {
                        samplingRate: 0,
                    },
                }],
            },
            probabilisticStrategy: {
                samplingRate: 0,
            },
            rateLimitingStrategy: {
                maxTracesPerSecond: 0,
            },
        },
        name: "string",
        serviceName: "string",
        slug: "string",
    });
    
    type: chronosphere:TraceJaegerRemoteSamplingStrategy
    properties:
        appliedStrategy:
            perOperationStrategies:
                defaultLowerBoundTracesPerSecond: 0
                defaultSamplingRate: 0
                defaultUpperBoundTracesPerSecond: 0
                perOperationStrategies:
                    - operation: string
                      probabilisticStrategy:
                        samplingRate: 0
            probabilisticStrategy:
                samplingRate: 0
            rateLimitingStrategy:
                maxTracesPerSecond: 0
        name: string
        serviceName: string
        slug: string
    

    TraceJaegerRemoteSamplingStrategy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TraceJaegerRemoteSamplingStrategy resource accepts the following input properties:

    AppliedStrategy Chronosphere.Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategy
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    Name string
    Display name of the Jaeger remote sampling strategy.
    ServiceName string
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    Slug string
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.
    AppliedStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    Name string
    Display name of the Jaeger remote sampling strategy.
    ServiceName string
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    Slug string
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.
    applied_strategy object
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    name string
    Display name of the Jaeger remote sampling strategy.
    service_name string
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    slug string
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.
    appliedStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategy
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    name String
    Display name of the Jaeger remote sampling strategy.
    serviceName String
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    slug String
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.
    appliedStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategy
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    name string
    Display name of the Jaeger remote sampling strategy.
    serviceName string
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    slug string
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.
    applied_strategy TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    name str
    Display name of the Jaeger remote sampling strategy.
    service_name str
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    slug str
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.
    appliedStrategy Property Map
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    name String
    Display name of the Jaeger remote sampling strategy.
    serviceName String
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    slug String
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TraceJaegerRemoteSamplingStrategy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TraceJaegerRemoteSamplingStrategy Resource

    Get an existing TraceJaegerRemoteSamplingStrategy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TraceJaegerRemoteSamplingStrategyState, opts?: CustomResourceOptions): TraceJaegerRemoteSamplingStrategy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            applied_strategy: Optional[TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs] = None,
            name: Optional[str] = None,
            service_name: Optional[str] = None,
            slug: Optional[str] = None) -> TraceJaegerRemoteSamplingStrategy
    func GetTraceJaegerRemoteSamplingStrategy(ctx *Context, name string, id IDInput, state *TraceJaegerRemoteSamplingStrategyState, opts ...ResourceOption) (*TraceJaegerRemoteSamplingStrategy, error)
    public static TraceJaegerRemoteSamplingStrategy Get(string name, Input<string> id, TraceJaegerRemoteSamplingStrategyState? state, CustomResourceOptions? opts = null)
    public static TraceJaegerRemoteSamplingStrategy get(String name, Output<String> id, TraceJaegerRemoteSamplingStrategyState state, CustomResourceOptions options)
    resources:  _:    type: chronosphere:TraceJaegerRemoteSamplingStrategy    get:      id: ${id}
    import {
      to = chronosphere_tracejaegerremotesamplingstrategy.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AppliedStrategy Chronosphere.Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategy
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    Name string
    Display name of the Jaeger remote sampling strategy.
    ServiceName string
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    Slug string
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.
    AppliedStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    Name string
    Display name of the Jaeger remote sampling strategy.
    ServiceName string
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    Slug string
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.
    applied_strategy object
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    name string
    Display name of the Jaeger remote sampling strategy.
    service_name string
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    slug string
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.
    appliedStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategy
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    name String
    Display name of the Jaeger remote sampling strategy.
    serviceName String
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    slug String
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.
    appliedStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategy
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    name string
    Display name of the Jaeger remote sampling strategy.
    serviceName string
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    slug string
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.
    applied_strategy TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    name str
    Display name of the Jaeger remote sampling strategy.
    service_name str
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    slug str
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.
    appliedStrategy Property Map
    Sampling strategy returned to the Jaeger client. Exactly one of probabilistic_strategy, rate_limiting_strategy, or per_operation_strategies must be set.
    name String
    Display name of the Jaeger remote sampling strategy.
    serviceName String
    Value of service.name the strategy applies to. Jaeger SDK clients reporting under this service receive this sampling configuration.
    slug String
    Stable identifier for the Jaeger remote sampling strategy. Generated from name if omitted. Immutable after creation.

    Supporting Types

    TraceJaegerRemoteSamplingStrategyAppliedStrategy, TraceJaegerRemoteSamplingStrategyAppliedStrategyArgs

    PerOperationStrategies Chronosphere.Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.
    ProbabilisticStrategy Chronosphere.Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy
    Probabilistic sampling: each trace is sampled with a fixed probability.
    RateLimitingStrategy Chronosphere.Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy
    Rate-limiting sampling: cap the number of sampled traces per second using a leaky bucket.
    PerOperationStrategies TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.
    ProbabilisticStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy
    Probabilistic sampling: each trace is sampled with a fixed probability.
    RateLimitingStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy
    Rate-limiting sampling: cap the number of sampled traces per second using a leaky bucket.
    per_operation_strategies object
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.
    probabilistic_strategy object
    Probabilistic sampling: each trace is sampled with a fixed probability.
    rate_limiting_strategy object
    Rate-limiting sampling: cap the number of sampled traces per second using a leaky bucket.
    perOperationStrategies TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.
    probabilisticStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy
    Probabilistic sampling: each trace is sampled with a fixed probability.
    rateLimitingStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy
    Rate-limiting sampling: cap the number of sampled traces per second using a leaky bucket.
    perOperationStrategies TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.
    probabilisticStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy
    Probabilistic sampling: each trace is sampled with a fixed probability.
    rateLimitingStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy
    Rate-limiting sampling: cap the number of sampled traces per second using a leaky bucket.
    per_operation_strategies TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.
    probabilistic_strategy TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy
    Probabilistic sampling: each trace is sampled with a fixed probability.
    rate_limiting_strategy TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy
    Rate-limiting sampling: cap the number of sampled traces per second using a leaky bucket.
    perOperationStrategies Property Map
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.
    probabilisticStrategy Property Map
    Probabilistic sampling: each trace is sampled with a fixed probability.
    rateLimitingStrategy Property Map
    Rate-limiting sampling: cap the number of sampled traces per second using a leaky bucket.

    TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies, TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesArgs

    DefaultSamplingRate double
    Service-wide sampling probability in the range [0.0, 1.0] applied when no per-operation override matches.
    DefaultLowerBoundTracesPerSecond double
    Minimum number of traces per second sampled for any operation in the service, even when the probabilistic rate would yield fewer.
    DefaultUpperBoundTracesPerSecond double
    Maximum number of traces per second sampled for any operation in the service, regardless of matching per-operation strategy.
    PerOperationStrategies List<Chronosphere.Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy>
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.
    DefaultSamplingRate float64
    Service-wide sampling probability in the range [0.0, 1.0] applied when no per-operation override matches.
    DefaultLowerBoundTracesPerSecond float64
    Minimum number of traces per second sampled for any operation in the service, even when the probabilistic rate would yield fewer.
    DefaultUpperBoundTracesPerSecond float64
    Maximum number of traces per second sampled for any operation in the service, regardless of matching per-operation strategy.
    PerOperationStrategies []TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.
    default_sampling_rate number
    Service-wide sampling probability in the range [0.0, 1.0] applied when no per-operation override matches.
    default_lower_bound_traces_per_second number
    Minimum number of traces per second sampled for any operation in the service, even when the probabilistic rate would yield fewer.
    default_upper_bound_traces_per_second number
    Maximum number of traces per second sampled for any operation in the service, regardless of matching per-operation strategy.
    per_operation_strategies list(object)
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.
    defaultSamplingRate Double
    Service-wide sampling probability in the range [0.0, 1.0] applied when no per-operation override matches.
    defaultLowerBoundTracesPerSecond Double
    Minimum number of traces per second sampled for any operation in the service, even when the probabilistic rate would yield fewer.
    defaultUpperBoundTracesPerSecond Double
    Maximum number of traces per second sampled for any operation in the service, regardless of matching per-operation strategy.
    perOperationStrategies List<TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy>
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.
    defaultSamplingRate number
    Service-wide sampling probability in the range [0.0, 1.0] applied when no per-operation override matches.
    defaultLowerBoundTracesPerSecond number
    Minimum number of traces per second sampled for any operation in the service, even when the probabilistic rate would yield fewer.
    defaultUpperBoundTracesPerSecond number
    Maximum number of traces per second sampled for any operation in the service, regardless of matching per-operation strategy.
    perOperationStrategies TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy[]
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.
    default_sampling_rate float
    Service-wide sampling probability in the range [0.0, 1.0] applied when no per-operation override matches.
    default_lower_bound_traces_per_second float
    Minimum number of traces per second sampled for any operation in the service, even when the probabilistic rate would yield fewer.
    default_upper_bound_traces_per_second float
    Maximum number of traces per second sampled for any operation in the service, regardless of matching per-operation strategy.
    per_operation_strategies Sequence[TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy]
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.
    defaultSamplingRate Number
    Service-wide sampling probability in the range [0.0, 1.0] applied when no per-operation override matches.
    defaultLowerBoundTracesPerSecond Number
    Minimum number of traces per second sampled for any operation in the service, even when the probabilistic rate would yield fewer.
    defaultUpperBoundTracesPerSecond Number
    Maximum number of traces per second sampled for any operation in the service, regardless of matching per-operation strategy.
    perOperationStrategies List<Property Map>
    Per-operation sampling configuration with a service-wide default and optional per-operation overrides.

    TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategy, TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyArgs

    Operation string
    Span operation (span name) this override applies to.
    ProbabilisticStrategy Chronosphere.Pulumi.Inputs.TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy
    Probabilistic sampling configuration applied to spans whose operation matches.
    Operation string
    Span operation (span name) this override applies to.
    ProbabilisticStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy
    Probabilistic sampling configuration applied to spans whose operation matches.
    operation string
    Span operation (span name) this override applies to.
    probabilistic_strategy object
    Probabilistic sampling configuration applied to spans whose operation matches.
    operation String
    Span operation (span name) this override applies to.
    probabilisticStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy
    Probabilistic sampling configuration applied to spans whose operation matches.
    operation string
    Span operation (span name) this override applies to.
    probabilisticStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy
    Probabilistic sampling configuration applied to spans whose operation matches.
    operation str
    Span operation (span name) this override applies to.
    probabilistic_strategy TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy
    Probabilistic sampling configuration applied to spans whose operation matches.
    operation String
    Span operation (span name) this override applies to.
    probabilisticStrategy Property Map
    Probabilistic sampling configuration applied to spans whose operation matches.

    TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategy, TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategyProbabilisticStrategyArgs

    SamplingRate double
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.
    SamplingRate float64
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.
    sampling_rate number
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.
    samplingRate Double
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.
    samplingRate number
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.
    sampling_rate float
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.
    samplingRate Number
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.

    TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy, TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategyArgs

    SamplingRate double
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.
    SamplingRate float64
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.
    sampling_rate number
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.
    samplingRate Double
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.
    samplingRate number
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.
    sampling_rate float
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.
    samplingRate Number
    Probability in the range [0.0, 1.0] that any given trace is sampled. 0 samples no traces, 1 samples every trace.

    TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy, TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategyArgs

    MaxTracesPerSecond int
    Maximum number of traces to sample per second for the service.
    MaxTracesPerSecond int
    Maximum number of traces to sample per second for the service.
    max_traces_per_second number
    Maximum number of traces to sample per second for the service.
    maxTracesPerSecond Integer
    Maximum number of traces to sample per second for the service.
    maxTracesPerSecond number
    Maximum number of traces to sample per second for the service.
    max_traces_per_second int
    Maximum number of traces to sample per second for the service.
    maxTracesPerSecond Number
    Maximum number of traces to sample per second for the service.

    Package Details

    Repository
    chronosphere chronosphereio/pulumi-chronosphere
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the chronosphere Terraform Provider.
    Viewing docs for Chronosphere v0.9.16
    published on Friday, Jun 5, 2026 by Chronosphere

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial