ddprofilingextension/

directory
v0.0.0-...-224808e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2025 License: Apache-2.0

README

ddprofiling Extension

The ddprofiling extension allows profiling the collector via the datadog profiler.

Extension Configuration

  • api: API allows specifying api::key and api::site. This is only effective when the extension is used in the OSS collector built via OCB. In this case, the profiles are sent directly to the intake using the API key and site specified.
  • profiler_options: Profiler options allows configuring options that pertain to the profiler, such as service/env/version, or period (in seconds).
  • endpoint: In the OTel agent, the extension spins up an http server which receives the profiles and sends them to DD intake. You can change the endpoint at which the server listens via this config (default port 7501)

Example Config OSS collector:

extensions:
  ddprofiling: 
    api:
      key: ${env:DD_API_KEY}
      site: ${env:DD_SITE}

Example Config OTel Agent:

extensions:
  ddprofiling: 
    endpoint: 1234

Example profiler options config:

extensions:
  ddprofiling:
    profiler_options:
      service: svc
      version: v0.1
      env: env
      period: 30
      profile_types: [blockprofile, mutexprofile, goroutineprofile]

Directories

Path Synopsis
def module
Package ddprofilingextensionfx provides fx access for the provider component
Package ddprofilingextensionfx provides fx access for the provider component
impl module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL