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

[DOC] Update and expand profiling types doc #3659

Conversation

knylander-grafana
Copy link
Contributor

Updates and expands the supported profiling content.

  • Splits the profile type by instrumentation method table into three tables: SDK vs auto instrumentation, language SDK, and span profiles.
  • Puts the tables on it’s own page and moves it to the Configure the client section on a new page
  • Change links to the profile types page in the other Configure the client pages
  • Updates the page weight for Introduction and Configure the client sections
  • Updates any links to the new page

Fixes: #3259

@knylander-grafana knylander-grafana added the type/docs Improvements for doc docs. Used by Docs team for project management label Oct 31, 2024
@knylander-grafana knylander-grafana self-assigned this Oct 31, 2024
@knylander-grafana knylander-grafana added the backport release/v1.9 This label will backport a merged PR to the release/v1.9 branch label Oct 31, 2024
Copy link
Contributor

This PR must be merged before a backport PR will be created.

Copy link
Contributor

@bryanhuhta bryanhuhta left a comment

Choose a reason for hiding this comment

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

A few remarks but I think this looks good. I like the reorganization of the profile support matrix.

docs/sources/configure-client/profile-types.md Outdated Show resolved Hide resolved
docs/sources/configure-client/profile-types.md Outdated Show resolved Hide resolved
docs/sources/configure-client/profile-types.md Outdated Show resolved Hide resolved
docs/sources/configure-client/profile-types.md Outdated Show resolved Hide resolved
docs/sources/configure-client/profile-types.md Outdated Show resolved Hide resolved
docs/sources/configure-client/profile-types.md Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we want to explain a common friction point we have with a lot of customers who use span profiles. That is: Span profiling is not effective on short spans (<20ms) as there are only a couple sampled profiles. This results in a statistically inaccurate profile.

Ideally we should only trust span profiles that are maybe 100ms or longer. (Not sure on the specific threshold, perhaps the rest of the team can weigh in here)

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've added an admonition noting that span profiling is not effective on short spans, using your wording. I didn't put a comment about the specific size to trust. We can always update this information.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ryan weighed in with a suggested edit, which I've added.

docs/sources/introduction/profiling-types/_index.md Outdated Show resolved Hide resolved
knylander-grafana and others added 3 commits October 31, 2024 12:17
Co-authored-by: Bryan Huhta <32787160+bryanhuhta@users.noreply.github.com>
Copy link
Contributor

@marcsanmi marcsanmi left a comment

Choose a reason for hiding this comment

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

LGTM 👍

docs/sources/configure-client/grafana-alloy/java/_index.md Outdated Show resolved Hide resolved
docs/sources/configure-client/profile-types.md Outdated Show resolved Hide resolved
Co-authored-by: Marc Sanmiquel <marcsanmiquel@gmail.com>
@knylander-grafana knylander-grafana merged commit 82a1901 into grafana:main Oct 31, 2024
18 checks passed
@knylander-grafana knylander-grafana deleted the 3259-update-profiles-types-table branch October 31, 2024 17:41
github-actions bot pushed a commit that referenced this pull request Oct 31, 2024
* Update and expand profiling types doc

* Fix doc validator issues

* Apply suggestions from code review

Co-authored-by: Bryan Huhta <32787160+bryanhuhta@users.noreply.github.com>

* Share profile types list

* Updates from Bryan's review

* Apply suggestions from code review

Co-authored-by: Marc Sanmiquel <marcsanmiquel@gmail.com>

* Apply suggestions from code review

* Apply suggestions from code review

---------

Co-authored-by: Bryan Huhta <32787160+bryanhuhta@users.noreply.github.com>
Co-authored-by: Marc Sanmiquel <marcsanmiquel@gmail.com>
(cherry picked from commit 82a1901)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release/v1.9 This label will backport a merged PR to the release/v1.9 branch type/docs Improvements for doc docs. Used by Docs team for project management
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DOC] Update the SDKs and supported profile types table to make info easier to find
3 participants