Telemetry isn’t appearing in BugByBug
If your application is running but you don’t see telemetry in your BugByBug dashboard, check the following:- Confirm that instrumentation is enabled. Installing OpenTelemetry packages alone may not be enough. Make sure automatic or manual instrumentation is configured for your application.
- Check your exporter configuration. Verify that the exporter is configured to send data to the correct BugByBug endpoint.
- Verify your API key. Make sure the key is valid and is being passed in the expected request header.
- Check your application logs. Look for OpenTelemetry initialization errors, exporter failures, or network errors.
- Confirm that telemetry is being generated. Trigger an application request or operation that should produce telemetry, then check whether the exporter attempts to send it.
Telemetry export is failing
Export failures can occur when the exporter cannot connect to BugByBug or when its configuration doesn’t match the receiving endpoint. Check the following:- Connection errors or timeouts: Confirm that your application or Collector can reach the configured endpoint. Check network restrictions, firewall rules, and proxy settings.
- Authentication errors: Verify that the API key is correct and that the
x-api-keyheader is included in the outgoing request. - Endpoint errors: Check that the exporter is using the correct endpoint and signal path. For trace export, BugByBug uses
https://nexus.bugbybug.com/v1/traces. - Protocol or encoding errors: Confirm that the exporter is configured to use a protocol and encoding supported by the receiving endpoint.
- Malformed requests: Review the exporter logs and response details for errors related to the request payload or headers.
Some telemetry is missing
You may see some telemetry in BugByBug while other expected data is missing. This does not always mean that telemetry export has failed. OpenTelemetry only collects the data that your application has been configured to capture and export. Check the following:- Instrumentation coverage: Confirm that the relevant framework, library, or operation is instrumented.
- Manual instrumentation: Some application-specific operations may require manual instrumentation before they generate telemetry.
- Sampling and filtering: Review your OpenTelemetry configuration for sampling rules, filters, or processors that may exclude data.
- Service configuration: If your application has multiple services, verify that each service has its own correct instrumentation and exporter configuration.
- Signal configuration: Confirm that the signal you’re expecting is supported by your configured instrumentation and export pipeline.
Browser telemetry isn’t being received
Browser applications have additional considerations because they run in an environment where private server credentials must not be exposed. If you’re using React or Next.js and browser telemetry isn’t appearing, check the following:- Proxy configuration: If you’re using a backend proxy, confirm that the browser sends telemetry to the correct application route.
- API route responses: Check whether the proxy route is receiving requests and successfully forwarding them to BugByBug.
- CORS errors: If you’re exporting directly from the browser, check the browser console for cross-origin request errors.
- Browser ingestion key: If you’re exporting directly, verify that you’re using the browser-ingestion key rather than a private server key.
- Request failures: Open your browser’s developer tools and inspect the Network tab for failed telemetry requests.
OpenTelemetry Collector isn’t forwarding telemetry
If you’re using an OpenTelemetry Collector, telemetry may be reaching the Collector without being successfully exported to BugByBug. Check the following:- Collector status: Confirm that the Collector is running.
- Receiver configuration: Verify that the configured receiver matches the protocol and endpoint your application uses.
- Pipeline configuration: Confirm that the relevant pipeline includes the expected receiver and BugByBug exporter.
- Exporter configuration: Check the BugByBug endpoint, encoding, and authentication header.
- Collector logs: Review the logs for configuration errors, connection failures, or exporter errors.
Browser or application requests return errors
If telemetry requests are failing, inspect the response from the receiving endpoint or your backend proxy. Collect the following information:- The HTTP response status code.
- The response body or error message, if available.
- The request URL and method.
- Whether the request includes the expected authentication header.
- Whether the failure occurs in the application, proxy, Collector, or BugByBug export request.
Still having issues?
If you’ve completed the checks above and telemetry still isn’t reaching BugByBug, contact the BugByBug team,[email protected] with enough information to reproduce and investigate the issue.
Include:
- Integration: The language, framework, and integration method you’re using.
- Versions: Your OpenTelemetry SDK, exporter, and Collector versions, where applicable.
- Configuration: Relevant OpenTelemetry environment variables and configuration, with API keys and secrets removed.
- Error messages: Relevant application, exporter, or Collector logs.
- Request details: HTTP status codes and error responses, if available.
- What you’ve checked: Whether your application generates telemetry, whether the exporter attempts to send it, and whether a Collector receives it, if applicable.
Related guides