Cookie Cutter

Cookie Cutter

  • Introduction
  • API
  • Help

›Modules

Introduction

  • Getting Started
  • Inputs
  • Message Handling
  • Outputs
  • Versioning and Contribution Guide

Components

  • Dispatch Context
  • State
  • Metrics
  • Tracing
  • Logging
  • Validation
  • Encoding
  • Config
  • Testing

Modules

  • Kafka
  • Azure
  • AMQP
  • gRPC
  • ValidateJS
  • MSSQL
  • Timer
  • StatsD
  • Protobuf
  • Prometheus
  • Redis
  • S3
  • Google PubSub

StatsD

The StatsD Module allows Cookie Cutter to send metrics to any StatsD compatible backend.

Setup

Application.create()
    .metrics(statsd({
        host: "my-statsd-server:port",
    }))
    // ...
    .run();

Configuration

NameDescription
hostthe host name + optionally port of the StatsD instance to connect to
prefixa prefix to prepend to all metrics that are emitted
packageservice name + version, it will default to the values from the root packages package.json file. The service name and version will be emitted as tags for all metrics
← TimerProtobuf →
  • Setup
  • Configuration
Cookie Cutter
Docs
IntroductionKafka
More
Blog
Copyright © 2023 Walmart Inc.