Plack::Middleware::OpenTelemetry - Plack middleware to setup OpenTelemetry spans
version 0.240230
builder { enable "Plack::Middleware::OpenTelemetry", include_client_errors => 0; };
Plack::Middleware::OpenTelemetry will setup an OpenTelemetry span for the request.
Plack::Middleware::OpenTelemetry
OpenTelemetry
By default client errors (HTTP status 400-499) don't set span status to "error". Enable this option to include them as errors.
The Net::Async::HTTP::Server plackup server is recommended: plackup -s Net::Async::HTTP::Server
plackup -s Net::Async::HTTP::Server
Plack::Middleware, OpenTelemetry::SDK
Ask Bjørn Hansen <ask@develooper.com>
This software is copyright (c) 2023 by Ask Bjørn Hansen.
This is free software; you can redistribute it and/or modify it under the MIT software license.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Bjørn'. Assuming UTF-8
To install Plack::Middleware::OpenTelemetry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::OpenTelemetry
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::OpenTelemetry
For more information on module installation, please visit the detailed CPAN module installation guide.