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

clarify about dropped requests for sampling in documentation #2957

Merged
merged 3 commits into from
Jan 19, 2023

Conversation

jackshirazi
Copy link
Contributor

What does this PR do?

doc fix

@apmmachine
Copy link
Collaborator

apmmachine commented Jan 10, 2023

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-01-19T16:04:39.891+0000

  • Duration: 65 min 33 sec

Test stats 🧪

Test Results
Failed 0
Passed 3398
Skipped 42
Total 3440

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • run benchmark tests : Run the benchmark tests.

  • run jdk compatibility tests : Run the JDK Compatibility tests.

  • run integration tests : Run the Agent Integration tests.

  • run end-to-end tests : Run the APM-ITs.

  • run windows tests : Build & tests on windows.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@jackshirazi jackshirazi marked this pull request as ready for review January 10, 2023 22:39
@github-actions
Copy link

/test

@jackshirazi jackshirazi requested a review from a team January 10, 2023 22:40
@jackshirazi jackshirazi linked an issue Jan 10, 2023 that may be closed by this pull request
@felixbarny
Copy link
Member

Here's another piece of outdated docs:

"We still record overall time and the result for unsampled transactions, but no context information, labels, or spans.\n\n" +

@jackshirazi
Copy link
Contributor Author

@JonasKunz sorry I forgot to update for Felix's note, now done. Please re-approve

@@ -682,7 +682,7 @@ You must use the query bar to filter for a specific environment in versions prio
[[config-transaction-sample-rate]]
==== `transaction_sample_rate` (performance)

By default, the agent will sample every transaction (e.g. request to your service). To reduce overhead and storage requirements, you can set the sample rate to a value between 0.0 and 1.0. We still record overall time and the result for unsampled transactions, but no context information, labels, or spans.
By default, the agent will sample every transaction (e.g. request to your service). To reduce overhead and storage requirements, you can set the sample rate to a value between 0.0 and 1.0. (For pre-8.0 servers the agent still records and sends overall time and the result for unsampled transactions, but no context information, labels, or spans.When connecting to 8.0+ servers, the unsampled requests are not sent at all).
Copy link
Contributor

Choose a reason for hiding this comment

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

labels, or spans.When connecting

Missing whitespace after the dot.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks, fixed

@jackshirazi jackshirazi merged commit 917e1e1 into elastic:main Jan 19, 2023
APM-Agents (OLD) automation moved this from In Progress to Done Jan 19, 2023
v1v added a commit that referenced this pull request Jan 25, 2023
…actions

* upstream/main: (76 commits)
  Bump version.byte-buddy from 1.12.20 to 1.12.21 (#2953)
  Fix instrumentation for WebFlux with Spring 6.x (#2936)
  Fix SQS instrumentation within messaging transactions (#2979)
  Add test for unsampled Transaction (#2950)
  clarify about dropped requests for sampling in documentation (#2957)
  Doc add first stack trace detail (#2978)
  SpanBuilder.addLink is supported, so delete wrong comment (#2975)
  [doc] document log sending (#2929)
  Fix agent log sending (#2974)
  Bump version.aws.sdk from 2.19.8 to 2.19.18 in /apm-agent-plugins (#2973)
  test: synchronizing gherkin specs (#2965)
  Bump aws-java-sdk from 1.12.353 to 1.12.376 in /apm-agent-plugins (#2944)
  Fixed AgentOverheadMetricsTest flakyness (#2918)
  Fix AWS instrumentation destination.service.resource handling (#2947)
  [doc] restructure logs doc (#2916)
  Junit5 test with dependencies runner (#2962)
  Set service target for non-sampled ES client spans (#2959)
  Send logs via intake API (#2694)
  [doc] setup with docker image (#2956)
  Increase CI build timeout (#2955)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

Option to sample transaction creation
4 participants