CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-pulumi--aws

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources with infrastructure-as-code.

Pending

Quality

Pending

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

Overview
Eval results
Files

xray.mddocs/services/

AWS X-Ray

AWS X-Ray helps developers analyze and debug production, distributed applications.

Package

import * as aws from "@pulumi/aws";
import * as xray from "@pulumi/aws/xray";

Key Resources

Sampling Rule

Control trace sampling rates.

const samplingRule = new aws.xray.SamplingRule("api-sampling", {
    ruleName: "api-traces",
    priority: 1000,
    version: 1,
    reservoirSize: 1,
    fixedRate: 0.05,
    urlPath: "/api/*",
    host: "*",
    httpMethod: "*",
    serviceName: "*",
    serviceType: "*",
    resourceArn: "*",
});

Group

Organize traces into groups.

const group = new aws.xray.Group("errors", {
    groupName: "ErrorTraces",
    filterExpression: "error = true",
    insightsConfiguration: {
        insightsEnabled: true,
        notificationsEnabled: true,
    },
});

Common Use Cases

  • Distributed Tracing: Track requests across microservices
  • Performance Analysis: Identify bottlenecks
  • Error Detection: Find and debug errors
  • Service Map: Visualize service dependencies

Related Services

  • Lambda - Trace Lambda functions
  • API Gateway - Trace API requests
  • ECS - Trace containerized applications

Install with Tessl CLI

npx tessl i tessl/npm-pulumi--aws@7.16.0

docs

index.md

quickstart.md

README.md

tile.json