DataDog / kong-plugin-ddtrace

Datadog APM Plugin for Kong Gateway
Apache License 2.0
15 stars 7 forks source link

feat: support W3C propagation headers #43

Closed dmehala closed 6 months ago

dmehala commented 6 months ago

Description

How to test

_format_version: "3.0"
_transform: true

services:
- name: service-a
  url: http://localhost:8000/bar
  plugins:
  - name: ddtrace
    config:
      service_name: service-a
      agent_host: datadog-agent
  routes:
  - name: my-route-a
    paths:
    - /foo

- name: service-b
  url: http://httpbin.org/headers
  plugins:
  - name: opentelemetry
    config:
      endpoint: http://datadog-agent:4318/v1/traces
      resource_attributes:
        service.name: service-b
  routes:
  - name: my-route-b
    paths:
    - /bar

Run: curl -i http://localhost:8000/foo

Result:

Screenshot 2024-03-22 at 13 30 36

TODO:

codecov-commenter commented 6 months ago

Welcome to Codecov :tada:

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered :open_umbrella: