NAME

Plack::Middleware::OpenTelemetry - Plack middleware to handle X-Forwarded-For headers

VERSION

version 0.233360

SYNOPSIS

builder {
  enable "Plack::Middleware::OpenTelemetry",
    tracer => {name => "my-app", "version" => "1.2"};
};

DESCRIPTION

Plack::Middleware::OpenTelemetry will setup an OpenTelemetry span for the request.

PARAMETERS

resource_attributes

Optional attributes to be added to the resource in the created spans.

NOTES

The Net::Async::HTTP::Server plackup server is recommended: plackup -s Net::Async::HTTP::Server

SEE ALSO

Plack::Middleware, OpenTelemetry::SDK

AUTHOR

Ask Bjørn Hansen <ask@develooper.com>

COPYRIGHT AND LICENSE

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:

Around line 164:

Non-ASCII character seen before =encoding in 'Bjørn'. Assuming UTF-8