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

Add examples of Deno and OpenTelemetry Integration & Use Cases #1300

Open
beingminimal opened this issue Jan 1, 2025 · 0 comments · May be fixed by #1305
Open

Add examples of Deno and OpenTelemetry Integration & Use Cases #1300

beingminimal opened this issue Jan 1, 2025 · 0 comments · May be fixed by #1305

Comments

@beingminimal
Copy link

beingminimal commented Jan 1, 2025

This issue proposes creating a comprehensive guide on integrating Deno with OpenTelemetry (OTel), covering various OTel features and data visualization techniques. This guide will help users effectively instrument their Deno applications for observability.

Motivation:

OpenTelemetry is becoming the standard for observability, providing a unified way to collect traces, metrics, and logs. A dedicated guide on integrating Deno with OTel will empower developers to gain deep insights into their application's performance and behavior.

Proposed Content:

The guide should cover the following aspects:

  • Setting up OpenTelemetry with Deno:
    • Detailed instructions on installing and configuring the necessary OTel libraries for Deno.
    • Examples of instrumenting different parts of a Deno application, including HTTP servers, database interactions, and other asynchronous operations.
    • Configuration of different exporters (e.g., OTLP, Jaeger, Zipkin) to send telemetry data to various backends.
  • Tracing:
    • Demonstrating how to create and manage spans within Deno applications to trace requests and operations.
    • Examples of adding attributes and events to spans for richer context.
    • Context propagation across asynchronous operations and between different services.
  • Metrics:
    • Examples of creating and recording various metrics (e.g., counters, histograms, gauges) in Deno applications.
    • Configuration of metric views and aggregations.
  • Logs (if supported by Deno OTel libraries):
    • If Deno OTel libraries support logging, provide examples of how to capture logs and associate them with traces and metrics.
  • Data Visualization:
    • VS Code Integration: Showing how to visualize traces and metrics within VS Code using appropriate extensions (e.g., Jaeger extension, OpenTelemetry extension).
    • Backend Visualization: Demonstrating how to use backend tools like Jaeger, Zipkin, Grafana, or other observability platforms to visualize the collected telemetry data. Examples should include:
      • Visualizing traces as flame graphs, Gantt charts, or other relevant formats.
      • Visualizing metrics as time-series graphs, dashboards, and alerts.
    • Other Visualization Methods: Explore other potential visualization methods, such as using custom dashboards or integrating with other data visualization tools.
  • Context Propagation: Detailed explanation and examples of how context propagation works in Deno with OTel, especially in asynchronous operations and distributed tracing scenarios.
  • Sampling: Discuss different sampling strategies (e.g., trace ID ratio based, probabilistic sampling) and how to configure them in Deno OTel setup.
@beingminimal beingminimal changed the title Comprehensive Guide on Deno and OpenTelemetry Integration Add guide and examples on Deno and OpenTelemetry Integration & Use Cases Jan 1, 2025
@beingminimal beingminimal changed the title Add guide and examples on Deno and OpenTelemetry Integration & Use Cases Add examples of Deno and OpenTelemetry Integration & Use Cases Jan 1, 2025
@bartlomieju bartlomieju linked a pull request Jan 3, 2025 that will close this issue
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 a pull request may close this issue.

1 participant