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

Adding PHP Dynamic instrumentation preview details to docs #27963

Merged
merged 11 commits into from
Mar 7, 2025

Conversation

sstonehill12
Copy link
Contributor

@sstonehill12 sstonehill12 commented Mar 4, 2025

What does this PR do? What is the motivation?

Update Dynamic Instrumentation docs to include the PHP support preview.

Merge instructions

Merge readiness:

  • Ready for merge

Merge queue is enabled in this repo. To have it automatically merged after it receives the required reviews, create the PR (from a branch that follows the <yourname>/description naming convention) and then add the following PR comment:

/merge

Additional notes

@sstonehill12 sstonehill12 added WORK IN PROGRESS No review needed, it's a wip ;) Do Not Merge Just do not merge this PR :) labels Mar 4, 2025
Copy link
Contributor

github-actions bot commented Mar 4, 2025

@github-actions github-actions bot added the Architecture Everything related to the Doc backend label Mar 4, 2025
@github-actions github-actions bot added the Images Images are added/removed with this PR label Mar 4, 2025
Updated minimum version and added limitations section
@sstonehill12 sstonehill12 requested review from watson and shatzi March 4, 2025 23:17
@sstonehill12 sstonehill12 removed the WORK IN PROGRESS No review needed, it's a wip ;) label Mar 4, 2025
Copy link
Contributor

@OmerRaviv OmerRaviv left a comment

Choose a reason for hiding this comment

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

LGTM

### Supported features

- Dynamic Logs, Metrics, Spans, and Span Tags
- Dynamic Logs attached to a function/method
Copy link
Contributor

Choose a reason for hiding this comment

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

we only mention function/method for attached logs. but I assume this is for all probe types?

If so, this line and line "Dynamic Logs attached to a specific file/line" at the unsupported features is confusing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@shatzi Let me know if the updated version is better!

@sstonehill12 sstonehill12 marked this pull request as ready for review March 5, 2025 15:13
@sstonehill12 sstonehill12 requested review from a team as code owners March 5, 2025 15:13
@sstonehill12 sstonehill12 removed the Do Not Merge Just do not merge this PR :) label Mar 5, 2025
Copy link
Contributor

@aliciascott aliciascott left a comment

Choose a reason for hiding this comment

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

hi @sstonehill12 thanks for adding this! Left a small suggestion :)

@@ -35,6 +35,24 @@ Configure Dynamic Instrumentation using the following environment variables:

See [Dynamic Instrumentation][5] for information about adding instrumentations and browsing and indexing the data.

## Limitations
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
## Limitations

I would suggest to remove this as it's a little confusing with a heading "limitations" followed by a heading of Supported Features, as a reader it's unclear

Copy link
Contributor

Choose a reason for hiding this comment

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

This goes against the design of Node.js and Ruby pages, which both have a "Limitations" section.

I don't personally think this headline is a problem, and I like the ability to deep link to it which can come in handy in support cases. It's also nice to have it show up the the ToC.

I see that we have the following options:

  1. Keep the headline (I don't find it confusing)
  2. Rename the headline, so it's less confusion
  3. Change the wording of the sentence following the headline, so it's less confusion
  4. Remove the headline in Node.js and Ruby as well

Copy link
Contributor

Choose a reason for hiding this comment

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

Let me know what you all decide and if you need a re-review after :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@watson Good points about the deep link and ToC. I'll revert the change back to "Limitations" and we can think about a better headline for this section and apply it across all the docs in a separate PR (if we come up with one).

@sstonehill12
Copy link
Contributor Author

@aliciascott Suggested changes were added! I'll submit a separate PR to apply the same formatting changes to the other DI language enablement pages for consistency's sake.

Copy link
Contributor

@aliciascott aliciascott left a comment

Choose a reason for hiding this comment

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

looks good! please add a comment with /merge when this is ready to be merged thanks!

Copy link
Contributor

@watson watson left a comment

Choose a reason for hiding this comment

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

See my comment here: #27963 (comment)

@sstonehill12
Copy link
Contributor Author

/merge

@dd-devflow
Copy link

dd-devflow bot commented Mar 6, 2025

View all feedbacks in Devflow UI.
2025-03-06 22:07:36 UTC ℹ️ Start processing command /merge


2025-03-06 22:07:40 UTC ℹ️ MergeQueue: waiting for PR to be ready

This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.


2025-03-07 02:08:04 UTC ⚠️ MergeQueue: This merge request was unqueued

devflow unqueued this merge request: It did not become mergeable within the expected time

@watson
Copy link
Contributor

watson commented Mar 7, 2025

/merge

@dd-devflow
Copy link

dd-devflow bot commented Mar 7, 2025

View all feedbacks in Devflow UI.
2025-03-07 11:00:52 UTC ℹ️ Start processing command /merge


2025-03-07 11:00:57 UTC ℹ️ MergeQueue: waiting for PR to be ready

This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.


2025-03-07 11:19:13 UTC ℹ️ MergeQueue: merge request added to the queue

The median merge time in master is 7m.


2025-03-07 11:26:08 UTC ℹ️ MergeQueue: This merge request was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Architecture Everything related to the Doc backend Images Images are added/removed with this PR mergequeue-status: done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants