Source
Data scrubbing, retention & volume control — found from sitemap — Flare
Checked for Flare on 6 Nov 2026
- Page
- https://flareapp.io/docs/php/performance/sampling
- Checked
- 6 Nov 2026, 04:22 UTC
- How we may use it
- Public page, crawling permitted
Technical details
- type
- page
- http status
- 200
- content hash
- sha256:e6286e111789bd9236a16aeb4c34ad2799740ba3604e6dc72de77195b3efa639
- permission
- robots_ok
- screenshot
- Screenshot on file (internal exhibit, not published)
Cited by
Facts read from this source
-
Sampling default rate Report an error
“The simplest setup is a single rate that applies to every trace. The default is 10%.”
-
Sampling rate config Report an error
“Change it with sampleRate():”
-
Sampling dynamic rules Report an error
“Configure it with sampleTracesDynamic() and a list of rules:”
-
Sampling rule types Report an error
“SamplingRule::forUrl($pattern, $rate) The full URL (including scheme and host) web”
-
Sampling pattern syntax Report an error
“Patterns are literal strings with * as a wildcard. Any other character is matched literally. There is no support for ?, character classes, or full regex.”
-
Sampling closure rules Report an error
“The closure receives the EntryPoint and returns either a rate (0.0 to 1.0) or null to defer the decision to the next rule.”
-
Sampling deferred Report an error
“When a rule needs information that has not been resolved yet, the sampler defers its decision. The trace is sampled tentatively (so spans are still collected), and the sampler is re-evaluated as soon as the framework resolves the handler.”
-
Sampling custom rules Report an error
“For reusable logic, write your own rule class. Extend SamplingRule, declare which entry-point types the rule applies to, and return a rate from getMatchedRate.”
-
Sampling w3c traceparent Report an error
“When a request reaches your application with a W3C traceparent header (or a job carries one in its payload), Flare extracts the traceId and parent span id so the trace stays connected to the upstream service.”
-
Sampling queued jobs Report an error
“When you dispatch a job, Flare writes a traceparent into its payload, including the sampling decision. The worker reads it back and follows it.”
-
Sampling custom samplers Report an error
“You can replace the sampler entirely. Implement the Sampler interface:”
-
Sampling laravel per queue Report an error
“On Laravel you can also sample per queue or per connection. See the Laravel sampling docs.”
-
Sampling overhead Report an error
“A sampled trace is not free. Recording spans, capturing query bindings, gathering request and response data, and serialising the trace before it is shipped all add overhead to the request, command, or job that produced it.”
Scores citing this record
- The Agency Tech Lead APM, tracing & profiling
- The Agency Tech Lead Data scrubbing, retention & volume control
- The Data Protection Officer APM, tracing & profiling
- The Data Protection Officer Data scrubbing, retention & volume control
- The Mobile Team Lead APM, tracing & profiling
- The Mobile Team Lead Data scrubbing, retention & volume control
- The SaaS CTO APM, tracing & profiling
- The SaaS CTO Data scrubbing, retention & volume control
- The Skeptic APM, tracing & profiling
- The Skeptic Data scrubbing, retention & volume control
- The Site Reliability Engineer APM, tracing & profiling
- The Site Reliability Engineer Data scrubbing, retention & volume control