Skip to content

Commit

Permalink
Merge branch 'main' into mx-psi/clarify-approver-maintainer
Browse files Browse the repository at this point in the history
  • Loading branch information
mx-psi authored Dec 19, 2024
2 parents 7e0d381 + 374c5e5 commit 00bacbe
Show file tree
Hide file tree
Showing 7 changed files with 132 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .cspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ words:
- mkorbi
- molkova
- msomasu
- MSYS
- PATHCONV
- mtwo
- mwear
- najaryan
Expand Down Expand Up @@ -194,6 +196,7 @@ words:
- pytest
- raesene
- reiley
- rolldice
- ruech
- runtimes
- rynn
Expand Down Expand Up @@ -236,5 +239,6 @@ words:
- triager
- triagers
- teamcity
- uninstrumented
- vtex
- yahn
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# All documents to be used in spell check.
ALL_DOCS := $(shell find . -type f -name '*.md' -not -path './.github/*' -not -path './node_modules/*' | sort)

# This is needed to make the /repo paths below work in Windows Git Bash
export MSYS_NO_PATHCONV=1

.PHONY: table-generation
table-generation:
docker run --rm -v ${PWD}:/repo -w /repo python:3-alpine python ./scripts/update-sig-tables.py --install;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ SIG-specific GitHub discussions.
| eBPF | Tuesday at 09:00 PT | [Google Doc](https://docs.google.com/document/d/13GK915hdDQ9sUYzUIWi4pOfJK68EE935ugutUgL3yOw) | [#otel-ebpf](https://cloud-native.slack.com/archives/C02AB15583A) | [calendar-ebpf](https://groups.google.com/a/opentelemetry.io/g/calendar-ebpf) | [Ted Young](https://github.com/tedsuo) |
| Kubernetes Operator | Thursday at 09:00 PT | [Google Doc](https://docs.google.com/document/d/1Unbs2qp_j5kp8FfL_lRH-ld7i5EOQpsq0I4djkOOSL4) | [#otel-operator](https://cloud-native.slack.com/archives/C033BJ8BASU) | [calendar-k8s-operator](https://groups.google.com/a/opentelemetry.io/g/calendar-k8s-operator) | [Juraci Paixão Kröhling](https://github.com/jpkrohling) |
| Community Demo Application | Wednesday at 08:00 PT | [Google Doc](https://docs.google.com/document/d/16f-JOjKzLgWxULRxY8TmpM_FjlI1sthvKurnqFz9x98) | [#otel-community-demo](https://cloud-native.slack.com/archives/C03B4CWV4DA) | [calendar-demo-app](https://groups.google.com/a/opentelemetry.io/g/calendar-demo-app) | [Austin Parker](https://github.com/austinlparker) |
| Semantic Conventions: Tooling | Wednesday at 07:00 PT | [Google Doc](https://docs.google.com/document/d/1ygwXgOFRF01UfUOgMr_ElyL7fSDPchTKSrqfj-_HeyA) | [#otel-weaver](https://cloud-native.slack.com/archives/C0697EXNTL3) | [calendar-semconv](https://groups.google.com/a/opentelemetry.io/g/calendar-semconv) | |
| Semantic Conventions: Tooling | Wednesday at 07:00 PT | [Google Doc](https://docs.google.com/document/d/1ygwXgOFRF01UfUOgMr_ElyL7fSDPchTKSrqfj-_HeyA) | [#otel-weaver](https://cloud-native.slack.com/archives/C0697EXNTL3) | [calendar-semconv](https://groups.google.com/a/opentelemetry.io/g/calendar-semconv) | [Trask Stalnaker](https://github.com/trask) |

### Cross-Cutting SIGs

Expand Down
11 changes: 7 additions & 4 deletions projects/gen-ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,23 @@ Some of the repositories (such as opentelemetry-js-contrib) provide a lot of aut

| Alias | Language | Company/Project | Time commitment |
| ----- | -------- | ----------------|---------------- |
| @adharshctr | JS & Python | IBM | |
| @AmanAgarwal041 | JS & Python | OpenLIT | |
| @alizenhom | JS & Python | Langtrace | |
| @codefromthecrypt | JS & Python | Elastic | |
| @codefromthecrypt | JS & Python | Elastic | 4 hours/week |
| @drewby | JS & Python | Microsoft | |
| @galkleinman | JS & Python | Traceloop | |
| @gyliu513 | JS & Python | IBM | |
| @karthikscale3 | JS & Python | Langtrace | |
| @lmolkova | Python | Microsoft | | 16 hours/week |
| @lzchen | Python | Microsoft | | 4 hours/week |
| @LakshmiSujith | JS & Python | IBM | |
| @lmolkova | Python | Microsoft | 16 hours/week |
| @lzchen | Python | Microsoft | 4 hours/week |
| @madhutadiparthi4ibm | JS & Python | IBM | |
| @NehaGhongade | JS & Python | IBM | |
| @nirga | JS & Python | Traceloop | |
| @patcher9 | JS & Python | OpenLIT | |
| @trentm | JS | Elastic | |
| @xrmx | Python | Elastic | |
| @codefromthecrypt | JS & Python | Elastic | 4 hours/week |

*looking for more contributors*

Expand Down
114 changes: 114 additions & 0 deletions projects/new-getting-started-docs-and-reference-application.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# New Getting Started Documentation and Reference Application

## Background and description

This project aims to deliver a new learning experience on [opentelemetry.io](https://opentelemetry.io) for OpenTelemetry end users, combined with a "reference application" that serves as both the foundation of this experience and a demonstration tool for SIGs to showcase feature implementations.

This proposal is a continuation of the following existing discussions and documents:

- [Restructure Language SDK & API documentation information architecture](https://github.com/open-telemetry/opentelemetry.io/discussions/4853)
- [Nice to have: a tutorials section on opentelemetry.io where folks can easily access tutorials](https://github.com/open-telemetry/opentelemetry.io/discussions/4475)
- [Visualizations we support in the documentation](https://github.com/open-telemetry/opentelemetry.io/discussions/5040), following up on a conversation with .NET SIG in
[this issue](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5779).
- [Learn OpenTelemetry: New Getting Started & Best Practices](https://github.com/open-telemetry/opentelemetry.io/pull/5376)

### Current challenges

Currently, almost all languages have a "getting started" documentation on <https://opentelemetry.io/docs>. However, end users frequently report a lack of a robust, complete reference implementation that demonstrates OpenTelemetry concepts in their chosen programming language. The "getting started" guides typically focus on a quick setup experience—often using zero-code solutions like the Java Agent—and many subsequent pages lack the in-depth information needed to address specific issues that users encounter.

In recent years, we in SIG Comms have aimed to simplify the documentation by standardizing it across languages. While this has improved consistency, it has not fully resolved user challenges. A primary issue is that our current documentation combines best practices guides with technical references. For example, the documentation for "manual instrumentation" attempts to cover all available methods for setting up the SDK, performing tracing, capturing metrics, logging, etc., using the same sample application. Similarly, the pages on exporters list standard exporters—such as Console, OTLP, Prometheus, and ZipKin—and include Docker setup instructions. This overloads end users looking for a point to get started and also does not serve advanced users that want to dive into more technical details and solve specific
problems.

Following [this discussion](https://github.com/open-telemetry/opentelemetry.io/discussions/4853), the [Java Documentation](https://opentelemetry.io/docs/languages/java/) was updated to focus on technical reference material. This revision better aligns it with the structure of the Specification, separating API usage ("Record Telemetry with the API") from SDK management ("Manage Telemetry with the SDK") instead of mixing multiple concepts together.

While we plan to apply these documentation changes across other languages, this proposal focuses on developing "best practices guides". These guides will provide an end-to-end learning journey for users, allowing them to grasp key concepts without delving into extensive details. For instance, we could focus on a single method for setting up the SDK, one approach to capturing traces, and using console and OTLP exporters, rather than covering all possible options in one place.

By offering a structured learning path, as outlined in this document, we aim to meet end users' need for a comprehensive reference implementation while also equipping maintainers with a tool to demonstrate feature implementations in their specific language.

### Goals, objectives, and requirements

The improved "getting started" experience for OpenTelemetry end users will consist of two parts:

- A reference application available in all major languages
- A language agnostic test suite for spec validation (like [W3C Distributed Tracing Validation Service](https://github.com/w3c/trace-context/tree/main/test))
- A guide that leads users through the process of instrumenting this reference application

While members of SIG Comms can create the guide, the reference application will require collaboration across SIGs. This need for cross-SIG collaboration is a key reason behind this project proposal.

The first step is to create a "specification" for this application. This involves defining the type of application we will use and how it should function. An example can be found in the [newrelic-opentelemetry-examples](https://github.com/newrelic/newrelic-opentelemetry-examples) repository, specifically in the [demo-app-specification.md](https://github.com/newrelic/newrelic-opentelemetry-examples/blob/main/getting-started-guides/demo-app-specification.md):

```markdown
# Specification for the Getting Started Guide demo applications

## Application

1. Must use port 8080

2. User must be able to access the endpoint http://localhost:8080/fibonacci?n=[input], and endpoint should return the following JSON response:

- For valid input, `{"n":5,"result":5}`
- For invalid input, `{"message":"n must be 1 <= n <= 90."}`
```

This specification will outline an application that demonstrates a wide range of OpenTelemetry features. Unlike the [Demo](https://github.com/open-telemetry/opentelemetry-demo/), this will be a single, straightforward application implemented in all supported languages, with simple business logic (e.g., Fibonacci calculations or a "roll the dice" feature).

In the second step, this specification should be expanded to include instructions for the "Instrumentation Journey." This will outline the abstract, language-agnostic steps an end user will follow to integrate the OpenTelemetry SDK into the application, add instrumentation, export telemetry, and more.

Once the specification is available, each SIG that implements the API and SDK in their respective language can provide the application in both uninstrumented and instrumented forms as examples in their repository.

Once at least one SIG provides this application, the documentation can be updated to include the new learning experience, utilizing this application. We will leverage existing tools to [extract code excerpts](https://github.com/open-telemetry/opentelemetry.io/tree/main/tools) from external repositories and import the code directly into the website.

An example of how this could look can be seen in this preview of the OpenTelemetry Documentation:

<https://deploy-preview-5376--opentelemetry.netlify.app/docs/learn/getting-started/>

## Deliverables

- A specification for the reference application
- Implementations of the reference application across all supported languages
- Prose detailing the new learning experience on the OpenTelemetry website

## Staffing / Help Wanted

This project is a collaboration between SIG Communications (Docs Contributors) and the SIGs responsible for implementing the API and SDK in their respective languages. No new SIGs need to be formed; however, we do need individuals to sign up and support this effort:

- Staffing from SIG Communications
- [@svrnm](https://github.com/svrnm) (Project Lead)

- Staffing from SIG Java
- [@jack-berg](https://github.com/jack-berg)
- [@lof000](https://github.com/lof000)

- Staffing from SIG Ruby
- [@kaylareopelle](https://github.com/kaylareopelle)

- Staffing from `Language SIG 3`
- `tbd`

- GC/TC Sponsors
- [@svrnm](https://github.com/svrnm)
- [@jack-berg](https://github.com/jack-berg)

## Timeline

The timeline is provided in "quarters," referring to the quarters after the project is approved.

- Q1: Deliver the specification for the reference application
- Q2: Provide a first implementation of the reference application
- Q3: Provide the tutorial on [opentelemetry.io](https://opentelemetry.io)

## Resources

Existing solutions, that can be used as a basis for the reference application:

- The existing `rolldice` app in the Getting Started guides at <https://opentelemetry.io>
- [newrelic-opentelemetry-examples](https://github.com/newrelic/newrelic-opentelemetry-examples)
- [OpenTelemetry instrumentation workshops](https://github.com/honeycombio/workshop-advanced-instrumentation) by Honeycomb

## Project Board

to be created

## SIG Meetings and Other Info

to be done
Binary file not shown.
3 changes: 3 additions & 0 deletions sigs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,9 @@
sponsors:
- name: Josh Suereth
github: jsuereth
gcLiaison:
- name: Trask Stalnaker
github: trask
- name: Cross-Cutting SIGs
sigs:
- name: Maintainer Meeting
Expand Down

0 comments on commit 00bacbe

Please sign in to comment.