opentelemetry.io icon indicating copy to clipboard operation
opentelemetry.io copied to clipboard

Learn OpenTelemetry: New Getting Started & Best Practices

Open svrnm opened this issue 1 year ago • 1 comments

This is a follow up to https://github.com/open-telemetry/opentelemetry.io/discussions/4475 and a prototype for what I have described in this document.

To begin with, please ignore the implementation details and let's talk about the outcome, i.e. is this how we can move forward with providing a better "Getting Started" for OpenTelemetry.

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

I see a few advantages in this approach:

  • We remove the "Dev/Ops" Getting Started and replace it with a single (developer oriented) guide, that's focusing on natively instrumenting your application using the API&SDK, which is in line with our project's mission.
  • We untangle a problem that we have been facing since we tried to have more consistent documentation across languages: we mix opinionated guides with technical references. Together with @jack-berg's work (see #4966 and #5276) we separate the 2 much more.
  • We have a dedicated place that also allows us to have "Tutorials" (as suggested by @avillela), such that users can add some step by step guides to our documentation at a single place.
  • With externalizing the example code to the language repositories + using code excerpts, we have a kind of "reference application" that showcases features per language consistently.

svrnm avatar Oct 10 '24 14:10 svrnm

Very cool idea! Love the dropdown to toggle between different language options. Really hammers home the point that opentelemetry is a language agnostic toolkit.

Screenshot 2024-10-10 at 10 06 14 AM

jack-berg avatar Oct 10 '24 15:10 jack-berg

This is a prototype, I will turn this in a draft PR, since we discuss this in https://github.com/open-telemetry/community/pull/2427/files

svrnm avatar Dec 11 '24 14:12 svrnm

/fix:all

svrnm avatar Jan 10 '25 08:01 svrnm

You triggered fix:all action run at https://github.com/open-telemetry/opentelemetry.io/actions/runs/12706084377

opentelemetrybot avatar Jan 10 '25 08:01 opentelemetrybot

fix:all failed or was cancelled. For details, see https://github.com/open-telemetry/opentelemetry.io/actions/runs/12706084377.

opentelemetrybot avatar Jan 10 '25 08:01 opentelemetrybot

Closing this since it was an experiment, will raise a new PR with suggestions for the information architecture changes

svrnm avatar Apr 30 '25 09:04 svrnm

re-opening this to see if that will (temporarily) fix the link check failure in the community repo 😄

https://github.com/open-telemetry/community/blob/b8cb836fb1f4c01170c9bebff6985bac1f945e41/projects/new-getting-started-docs-and-reference-application.md?plain=1#L61-L63

trask avatar Sep 26 '25 02:09 trask

ah, merge conflicts so the deploy preview is not rerunning 🤷‍♂️

trask avatar Sep 26 '25 02:09 trask