Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[exporter/datadog] Add support for Live Processes metrics upload to Datadog #27858

Closed
ZenykK opened this issue Oct 19, 2023 · 5 comments
Closed
Labels

Comments

@ZenykK
Copy link

ZenykK commented Oct 19, 2023

Component(s)

exporter/datadog

Is your feature request related to a problem? Please describe.

Currently datadogexporter supports only sending Metrics, Traces, Logs and HostMetadata onto Datadog SaaS (at least judging by configuration options):

// createDefaultConfig creates the default exporter configuration
func (f *factory) createDefaultConfig() component.Config {
	return &Config{
		TimeoutSettings: defaulttimeoutSettings(),
		RetrySettings:   exporterhelper.NewDefaultRetrySettings(),
		QueueSettings:   exporterhelper.NewDefaultQueueSettings(),

		API: APIConfig{
			Site: "datadoghq.com",
		},

		Metrics: MetricsConfig{
			TCPAddr: confignet.TCPAddr{
				Endpoint: "https://api.datadoghq.com",
			},
			DeltaTTL: 3600,
			ExporterConfig: MetricsExporterConfig{
				ResourceAttributesAsTags:           false,
				InstrumentationScopeMetadataAsTags: false,
			},
			HistConfig: HistogramConfig{
				Mode:             "distributions",
				SendAggregations: false,
			},
			SumConfig: SumConfig{
				CumulativeMonotonicMode:        CumulativeMonotonicSumModeToDelta,
				InitialCumulativeMonotonicMode: InitialValueModeAuto,
			},
			SummaryConfig: SummaryConfig{
				Mode: SummaryModeGauges,
			},
		},

		Traces: TracesConfig{
			TCPAddr: confignet.TCPAddr{
				Endpoint: "https://trace.agent.datadoghq.com",
			},
			IgnoreResources: []string{},
		},

		Logs: LogsConfig{
			TCPAddr: confignet.TCPAddr{
				Endpoint: "https://http-intake.logs.datadoghq.com",
			},
		},

		HostMetadata: HostMetadataConfig{
			Enabled:        true,
			HostnameSource: HostnameSourceConfigOrSystem,
		},
	}
}

Describe the solution you'd like

We'd like to have the ability to send Process level metrics we're scrating with the hostmetrics receiver onto Datadog and have them appear on Live Processes menu.
Judging by datadog-process-agent code, processes metrics are expected to arrive at a different Endpoint rather then Metrics: https://github.com/DataDog/datadog-agent/blob/45a28e222a96fb99954eaa84e3cff52058d7b65f/comp/forwarder/defaultforwarder/endpoints/endpoints.go#L37
And probably with the different data_type rather than "metric".

Describe alternatives you've considered

To replicate whatever the Datadog's own Process Agent is doing and how it's formatting data is arguably the best option here.

Additional context

No response

@ZenykK ZenykK added enhancement New feature or request needs triage New item requiring triage labels Oct 19, 2023
@github-actions github-actions bot added the exporter/datadog Datadog components label Oct 19, 2023
@github-actions
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@mackjmr
Copy link
Member

mackjmr commented Dec 12, 2023

Thanks for reaching out. This is not supported today, please reach out to our support team so we can track this request.

@songy23 songy23 added waiting for author and removed needs triage New item requiring triage labels Dec 12, 2023
Copy link
Contributor

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Copy link
Contributor

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@github-actions github-actions bot added the Stale label May 13, 2024
Copy link
Contributor

This issue has been closed as inactive because it has been stale for 120 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants