opentelemetry_honeycomb v0.5.0-rc.1 OpenTelemetry.Honeycomb.Http behaviour View Source
HTTP back end.
The OpenTelemetry Honeycomb Exporter uses a Hackney-style HTTP client via a behaviour so you can adapt it to your preferred HTTP client. We supply 2-3 clients:
Link to this section Summary
Types
Request body
Configuration option for request!/5
HTTP headers
HTTP method
Client response
HTTP status code
URL
Functions
Return the default configuration for request!/5
.
Make an HTTP request using the configured back end and options.
Callbacks
Make an HTTP request.
Link to this section Types
Request body
Configuration option for request!/5
:
http_module
: the HTTP back end modulehttp_options
: options to pass to the HTTP back end
HTTP headers
HTTP method
Client response
HTTP status code
URL
Link to this section Functions
Return the default configuration for request!/5
.
Make an HTTP request using the configured back end and options.
Heavy on guards to limit the exporter's use of the API to the back end's documented subset of
:hackney.request/5
.
Link to this section Callbacks
Make an HTTP request.
See :hackney.request/5
.