newrelic-telemetry-sdk-python
newrelic-telemetry-sdk-python copied to clipboard
A python library to send data to New Relic!
when i specify an API key in MetricClient and start debugger, i see that the api-key header includes in headers attribute in Client object but not in the HEADERS in...
The following seems to fail during peaks in upload traffic, but we aren't hitting any API limits on our accound: ``` from newrelic_telemetry_sdk import MetricClient metric_client = MetricClient(secrets['NEW_RELIC_LICENSE_KEY']) metric =...
Suppport creating Cumulative metrics as described in https://docs.newrelic.com/docs/data-apis/understand-data/metric-data/cumulative-metrics/
This PR adds support for proxy parameterization so that you can inject the proxy into the `Client` at instantiation time instead of having to rely on setting environment variables.
I would like to disable the tracking on specific endpoints with OTEL I would do ```python FastAPIInstrumentor.instrument_app(app=my_app, excluded_urls="/$,/health$,/openapi.json$") ``` but what is the equivalent with ```python newrelic.agent.initialize() ``` ? thank...
as title
The SDK should implement a retry strategy to handle connection errors / server errors. The retry strategy should be configurable. See the [implement-retry](https://github.com/newrelic/newrelic-telemetry-sdk-python/tree/implement-retry) branch for a proposed solution.
What is the default timeout? How can this be modified?
The common field is expected to be an instance of the telemetry type that's being sent. For example, sending a batch of `Span` means that the common field is an...