-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into system-metrics-macos
- Loading branch information
Showing
20 changed files
with
581 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
instrumentation/opentelemetry-instrumentation-aiohttp-server/README.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
OpenTelemetry aiohttp server Integration | ||
======================================== | ||
|
||
|pypi| | ||
|
||
.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-aiohttp-client.svg | ||
:target: https://pypi.org/project/opentelemetry-instrumentation-aiohttp-client/ | ||
|
||
This library allows tracing HTTP requests made by the | ||
`aiohttp server <https://docs.aiohttp.org/en/stable/server.html>`_ library. | ||
|
||
Installation | ||
------------ | ||
|
||
:: | ||
|
||
pip install opentelemetry-instrumentation-aiohttp-server | ||
|
||
References | ||
---------- | ||
|
||
* `OpenTelemetry Project <https://opentelemetry.io/>`_ | ||
* `aiohttp client Tracing <https://docs.aiohttp.org/en/stable/tracing_reference.html>`_ | ||
* `OpenTelemetry Python Examples <https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples>`_ |
61 changes: 61 additions & 0 deletions
61
instrumentation/opentelemetry-instrumentation-aiohttp-server/pyproject.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "opentelemetry-instrumentation-aiohttp-server" | ||
dynamic = ["version"] | ||
description = "Aiohttp server instrumentation for OpenTelemetry" | ||
readme = "README.rst" | ||
license = "Apache-2.0" | ||
requires-python = ">=3.7" | ||
authors = [ | ||
{ name = "OpenTelemetry Authors", email = "[email protected]"} | ||
] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11" | ||
] | ||
dependencies = [ | ||
"opentelemetry-api ~= 1.12", | ||
"opentelemetry-instrumentation == 0.42b0.dev", | ||
"opentelemetry-semantic-conventions == 0.42b0.dev", | ||
"opentelemetry-util-http == 0.42b0.dev", | ||
"wrapt >= 1.0.0, < 2.0.0", | ||
] | ||
|
||
[project.optional-dependencies] | ||
instruments = [ | ||
"aiohttp ~= 3.0", | ||
] | ||
test = [ | ||
"opentelemetry-instrumentation-aiohttp-server[instruments]", | ||
"pytest-asyncio", | ||
"pytest-aiohttp", | ||
] | ||
|
||
[project.entry-points.opentelemetry_instrumentor] | ||
aiohttp-server = "opentelemetry.instrumentation.aiohttp_server:AioHttpServerInstrumentor" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-aiohttp-server" | ||
|
||
[tool.hatch.version] | ||
path = "src/opentelemetry/instrumentation/aiohttp_server/version.py" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
"/src", | ||
"/tests", | ||
] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["src/opentelemetry"] |
Oops, something went wrong.