Git Product home page Git Product logo

datadog-otlp's Introduction

datadog-otlp

test project sending OpenTelemetry traces in OTLP to datadog-agent

Pre-requisite

  • docker
  • docker-compose
  • a valid datadog api key

Usage

Start

DD_API_KEY=<valid_api_key> make run

Http request

make curl: issues an Http request to the running service.

Default path is /redis/${KEY}.

To override the key for redis: KEY=<my_key> make curl.

To change to a different route: ROUTE=/foo make curl.

Supported routes:

  • /
  • /ot
  • /redis/<key>

Stop

make stop

Diagnose

  1. [terminal 0] start the service on.
  2. [terminal 1] run make ssh and you're inside datadog-agent container as root.
  3. [terminal 1] run apt update && apt install -y net-tools tcpdump
  4. [terminal 1] verify connections: netstat -apln
  5. [terminal 1] start tcpdump for trace related ports: tcpdump -nnA -s 0 -i any "port 4317 or 5003"
  6. [terminal 2] run make curl
  7. [terminal 0] observe stdout: a otlp console exporter is active in the pipeline.
  8. [terminal 1] observe tcpdump output: 4317 port receives the trace telemetry but not 5003

datadog-otlp's People

Contributors

xdu-opendoor avatar duxing avatar

Watchers

 avatar

Forkers

mx-psi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.