Comments (2)
Hi @bldev2473! Thanks for that feedback, I've just drafted up some new documentation to add to our site about the options in general for the init
call in the Browser SDK. The tracePropagationTargets
should be set to your backend API URL, what it does is that the SDK will attach a traceparent
header to any URL matching one of the regexes specified in tracePropagationTargets
. This ensures the backend can properly extract and propagate the trace ID, allowing you to link requests between the frontend and backend.
Here's some more details on the init options in general that I'll be adding soon:
Options
apiKey
- Your HyperDX Ingestion API Key.service
- The service name events will show up as in HyperDX.tracePropagationTargets
- A list of regex patterns to match against HTTP requests to link frontend and backend traces, it will add an additionaltraceparent
header to all requests matching any of the patterns. This should be set to your backend API domain (ex.api.yoursite.com
).consoleCapture
- (Optional) Capture all console logs (defaultfalse
).advancedNetworkCapture
- (Optional) Capture full request/response headers and bodies (default false).url
- (Optional) The OpenTelemetry collector URL, only needed for self-hosted instances.maskAllInputs
- (Optional) Whether to mask all input fields in session replay (defaultfalse
).maskAllText
- (Optional) Whether to mask all text in session replay (defaultfalse
).
from hyperdx.
Hi @MikeShi42, thank you for your detailed response. It helped a lot!
from hyperdx.
Related Issues (20)
- [HDX-166] Persist Bar Chart Display HOT 3
- [HDX-134] Metrics need to handle counter restarts and related edge cases better HOT 1
- [HDX-253] Persist Custom Columns HOT 5
- [HDX-410] Support Otel gRPC HOT 1
- Support for piping logs from Render.com HOT 3
- Dashboard Live Tail? HOT 1
- Sign up rejects presumed strong password HOT 2
- [HDX-491] [HDX-492] Support Structured Search over Span Events
- Unify service.instance.id?
- [HDX-605] Reset Initial User Password
- hyperdx-c# package / C# Support in the future?
- Data retention of OSS version HOT 2
- How to integrate hyperdx in Flutter applications or native iOS or Android App HOT 1
- Running HyperDx without ingestion key HOT 2
- Line Chart Builder - Perform regex on Distinct by - Property HOT 2
- [Bug] Line Charts - duplicate colors and strange count_distinct group
- [Bug] Invalid `SERVER_URL` in the first few requests HOT 2
- [Feature] Alert group by sub __event field
- Alert is not fired
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperdx.