Skip to content

Re-org-router-observability#8183

Merged
BlenderDude merged 35 commits intodevfrom
kirkum/RR-305-re-org-router-observability
Sep 22, 2025
Merged

Re-org-router-observability#8183
BlenderDude merged 35 commits intodevfrom
kirkum/RR-305-re-org-router-observability

Conversation

@robert113289
Copy link
Contributor

@robert113289 robert113289 commented Sep 2, 2025

Summary

This Pull Request re-organizes and enhances the documentation structure for observability, telemetry, and performance monitoring in the Apollo GraphOS Router. It primarily focuses on restructuring content, modifying links, integrating redirects for legacy paths, and ensuring consistency across documentation. JIra RR-305

This branch has a sister branch in docs-rewrite. In order to preview the PR you will need to pull both branches down and run locally. The librarian preview in the comments below does not work because there are related changes in the https://github.com/apollographql/docs-rewrite/pull/758 PR that needs to be merged at the same time as this PR.

Main Changes:

  • Sidebar Updates: Significant restructuring of the navigation hierarchy to improve content discoverability in the observability and telemetry sections.
  • Documentation Relocation: Files related to telemetry, metrics, and tracing exporters have been moved to new directories or renamed for better organization (e.g., OpenTelemetry, Datadog, Dynatrace, Jaeger, Prometheus, and more).
  • Redirect Integrations: Incorporates extensive redirectFrom entries to handle existing links to legacy documentation paths and prevent dead links.
  • Content Enhancements: Very minor updates to file descriptions, paths, and key references in the documentation to ensure better clarity and relevance.
  • Media Source Updates: Adjusts image paths in specific MDX files for alignment with the new directory structure.

Outcome

These changes focus on improving user experience and ensuring that observability-related documentation is easier to navigate and utilize. GraphOs insights documentation and router otel telemetry documentation are now in separate sections. Users will be able to find all of the apm specific documentation in a dedicated folder for their apm of choice. This allows room for future PRs that will add documentation for apm specific dashboards and monitoring recommendations.

The Plan

Excalidraw
image


Checklist

Complete the checklist (and note appropriate exceptions) before the PR is marked ready-for-review.

  • PR description explains the motivation for the change and relevant context for reviewing
  • PR description links appropriate GitHub/Jira tickets (creating when necessary)
  • Changeset is included for user-facing changes
  • Changes are compatible[^1]
  • Documentation[^2] completed
  • Performance impact assessed and acceptable
  • Metrics and logs are added[^3] and documented
  • Tests added and passing[^4]
    • Unit tests
    • Integration tests
    • Manual tests, as necessary

Exceptions
This is a docs only PR. Checklist items around Unit testing and router compatibility need not appy.

@github-actions

This comment has been minimized.

@apollo-librarian
Copy link

apollo-librarian bot commented Sep 2, 2025

✅ Docs preview ready

The preview is ready to be viewed. View the preview

File Changes

0 new, 1 changed, 32 removed
* graphos/routing/(latest)/_sidebar.yaml
- graphos/routing/(latest)/observability/telemetry/instrumentation/instruments.mdx
- graphos/routing/(latest)/observability/telemetry/instrumentation/events.mdx
- graphos/routing/(latest)/observability/telemetry/instrumentation/conditions.mdx
- graphos/routing/(latest)/observability/telemetry/instrumentation/spans.mdx
- graphos/routing/(latest)/observability/telemetry/instrumentation/standard-attributes.mdx
- graphos/routing/(latest)/observability/telemetry/instrumentation/standard-instruments.mdx
- graphos/routing/(latest)/observability/telemetry/instrumentation/selectors.mdx
- graphos/routing/(latest)/observability/telemetry/log-exporters/overview.mdx
- graphos/routing/(latest)/observability/telemetry/log-exporters/stdout.mdx
- graphos/routing/(latest)/observability/telemetry/metrics-exporters/overview.mdx
- graphos/routing/(latest)/observability/telemetry/metrics-exporters/datadog.mdx
- graphos/routing/(latest)/observability/telemetry/metrics-exporters/dynatrace.mdx
- graphos/routing/(latest)/observability/telemetry/metrics-exporters/new-relic.mdx
- graphos/routing/(latest)/observability/telemetry/metrics-exporters/otlp.mdx
- graphos/routing/(latest)/observability/telemetry/metrics-exporters/prometheus.mdx
- graphos/routing/(latest)/observability/telemetry/trace-exporters/overview.mdx
- graphos/routing/(latest)/observability/telemetry/trace-exporters/datadog.mdx
- graphos/routing/(latest)/observability/telemetry/trace-exporters/dynatrace.mdx
- graphos/routing/(latest)/observability/telemetry/trace-exporters/new-relic.mdx
- graphos/routing/(latest)/observability/telemetry/trace-exporters/otlp.mdx
- graphos/routing/(latest)/observability/telemetry/trace-exporters/zipkin.mdx
- graphos/routing/(latest)/observability/telemetry/trace-exporters/jaeger.mdx
- graphos/routing/(latest)/observability/telemetry/index.mdx
- graphos/routing/(latest)/observability/subgraph-error-inclusion.mdx
- graphos/routing/(latest)/observability/debugging-client-requests.mdx
- graphos/routing/(latest)/observability/client-id-enforcement.mdx
- graphos/routing/(latest)/observability/debugging-subgraph-requests.mdx
- graphos/routing/(latest)/observability/index.mdx
- graphos/routing/(latest)/observability/otel-traces-to-prometheus.mdx
- graphos/routing/(latest)/observability/federated-trace-data.mdx
- graphos/routing/(latest)/observability/otel.mdx
- graphos/routing/(latest)/graphos-reporting.mdx

Build ID: 7fcb4694f68e273df1551517
Build Logs: View logs

URL: https://www.apollographql.com/docs/deploy-preview/7fcb4694f68e273df1551517

@robert113289 robert113289 force-pushed the kirkum/RR-305-re-org-router-observability branch 4 times, most recently from b92962e to 8ca54ac Compare September 5, 2025 18:10
@DMallare
Copy link
Contributor

DMallare commented Sep 9, 2025

Question: Since we are reorganizing a lot of information do we need to worry about customers who have any current pages bookmarked in this section and would now experience 404s. Have we considered adding redirects?

@robert113289
Copy link
Contributor Author

robert113289 commented Sep 9, 2025

Question: Since we are reorganizing a lot of information do we need to worry about customers who have any current pages bookmarked in this section and would now experience 404s. Have we considered adding redirects?

@DMallare, great question! everything has redirects from their old url. no bookmarks will be broken. check out the top of the *.mdx files for a section like the one below to see how I've configured the redirects.

redirectFrom:
    - /graphos/routing/old/url/path/

Copy link
Contributor

@tninesling tninesling left a comment

Choose a reason for hiding this comment

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

Love the idea to improve the organization here! Left a few suggestions to think about

Copy link
Contributor

Choose a reason for hiding this comment

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

I think Instruments, Events, Spans, Attributes, Conditions, and Selectors should stay as peers in this structure. Selectors are used with Attributes, Conditions, Spans, Events, and Instruments. Conditions can be applied to the first three. Since these are somewhat intertwined, I think the previous structure made more sense.

I agree that folks probably want to know the standard instruments first to get started up, so we can keep Instruments as the first page. Maybe it's worth merging Instruments with Standard Instruments?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i removed the MELT folder from the tree so that Metrics, Events, Traces, Selectors, and Conditions are on the same Level
image

Copy link
Contributor Author

@robert113289 robert113289 Sep 9, 2025

Choose a reason for hiding this comment

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

Maybe it's worth merging Instruments with Standard Instruments?

I looked into this and it would result in a very long page unfortunately.

Copy link
Contributor

Choose a reason for hiding this comment

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

I like this change to group the different APM docs together! Some of these pages seem fairly short, so it might make things easier for everyone if we just merge the sub-pages together (ie. have a single page for each APM that covers metrics, traces, etc).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i agree, but I won't be able to get the old bookmarks to navigate to the correct subsection.

Redirect limitations
Redirects don't currently support redirecting to or from anchors.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I could combine New Relic and Dynatrace but that's about it.

Datadog would be too long. I could do it by splitting off the old Datadog native configuration into its own page, but that would break old links to it.

Prometheus isn’t all that long, but I believe its two pages, metrics and trace metrics, are better off being separate since they don’t have the same concept of using the same exporter like the others do where you use the otlp exporter for both metrics and traces.

Zipkin and Jaeger only have one page already.

@robert113289 robert113289 force-pushed the kirkum/RR-305-re-org-router-observability branch 3 times, most recently from 23a6e41 to 6410784 Compare September 12, 2025 17:04
Copy link

@alyssahursh alyssahursh left a comment

Choose a reason for hiding this comment

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

This looks great, Robert! Thanks for putting so much thought and care into this, and for organizing the work so clearly that it's easy to review.

@robert113289 robert113289 marked this pull request as ready for review September 12, 2025 18:39
@robert113289 robert113289 requested a review from a team as a code owner September 12, 2025 18:39
Copy link
Contributor

@mabuyo mabuyo left a comment

Choose a reason for hiding this comment

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

++ to Alyssa's comment! I really appreciate the cleanliness of organizing this work. Besides the minor comment, two things:

  1. cc @BlenderDude's, I see redirectFroms set up which is great, is there anything else we can do or have done in the past to catch any broken links with a restructure like this?

  2. This is a part of the docs I don't visit very often and a topic I don't know much about. I see some teammates already gave their reviews, which is great. I would recommend also pulling in other folks who use this part of the docs more (maybe someone from Solutions?).

Giving my approval because these are non-blocking comments!

@mabuyo
Copy link
Contributor

mabuyo commented Sep 19, 2025

Looks like some file conflicts popped up! After fixing those, LGTM to hit merge (tho my previous PR review comment still applies!).

@robert113289 robert113289 force-pushed the kirkum/RR-305-re-org-router-observability branch from 8f18a06 to 2ab4574 Compare September 19, 2025 16:55
Copy link
Contributor

@devfreddy-apollo devfreddy-apollo left a comment

Choose a reason for hiding this comment

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

I love it. Very logical split between GraphOS data and Router Telemetry. There's a place for guides / longer form content now. Really liking the more natural fit of Instruments/standard instruments under a Metrics section.

@BlenderDude BlenderDude merged commit d5af172 into dev Sep 22, 2025
15 checks passed
@BlenderDude BlenderDude deleted the kirkum/RR-305-re-org-router-observability branch September 22, 2025 17:32
@pokeefe-apollo
Copy link
Contributor

LGTM

@abernix abernix mentioned this pull request Oct 27, 2025
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.

8 participants