Skip to content

telemetry: config telemetry to run by default#2184

Merged
Salazareo merged 1 commit intomainfrom
DS/main
Dec 16, 2025
Merged

telemetry: config telemetry to run by default#2184
Salazareo merged 1 commit intomainfrom
DS/main

Conversation

@Salazareo
Copy link
Copy Markdown
Member

No description provided.

if ( jaeger ?? this.config.jaeger ) {
return new OTLPTraceExporter(jaeger ?? this.config.jaeger);
}
if ( this.config.devConsole ) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just call this console rather than devConsole


const exporter = this.#getConfiguredExporter();
this.exporter = exporter;
const metrictExporter = this.#getMetricExporter();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be metricExporter?


module.exports = TelemetryService;
#getMetricExporter () {
if ( jaeger ?? this.config.jaeger ) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is jaeger here? config.jaeger was much clearer. Maybe we should remove support for a global config entry for this - I don't think anybody else was using this.

@Salazareo Salazareo force-pushed the DS/main branch 3 times, most recently from 2fb5d60 to b0e2fde Compare December 16, 2025 02:33
@Salazareo Salazareo merged commit ed51a04 into main Dec 16, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants