You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Install the project pkg by following "Build a Wheel file locally" step above. Please make sure to install “aws-opentelemetry-distro” by following steps instead of install "opentelemetry-distro” directly.
24
-
3. Add AWS test account credential into the terminal, setup environment variable and run sample server:
2. Install the project pkg by following "Build a Wheel file locally" step above. Please make sure to install “aws-opentelemetry-distro” by following steps instead of install "opentelemetry-distro” directly.
56
+
3. Add AWS test account credential into the terminal, setup environment variable and run sample server:
The span content will be output into terminal console
67
+
68
+
### Code Style Check
69
+
70
+
This package applies code style check automatically when created a push/pull request to the project repository. You can apply style check locally before submitting the PR by following:
71
+
1. Install related packages:
72
+
```sh
73
+
pip install isort pylint black flake8 codespell readme_renderer
74
+
```
75
+
2. Check code style errors using codespell and lint:
76
+
```sh
77
+
codespell
78
+
python scripts/eachdist.py lint --check-only
79
+
```
80
+
3. Apply the fix for the errors automatically:
81
+
```sh
82
+
codespell . --write-changes
83
+
python scripts/eachdist.py lint
84
+
```
85
+
86
+
### Unit test
87
+
This package detects all the unit tests defined in folder with naming "tests"/"test" under the same directory as pyproject.toml file. Please make sure to add unit test every time a new feature added.
88
+
The workflow will run the test tox environment automatically whenever there is a push/pull request. Please make sure you install the related package needed for the unit tests in `commands_pre`.
89
+
90
+
If you want to test a specific component/feature, please add a new environment in tox.ini file, and add related workflow as needed.
91
+
68
92
69
93
## Finding contributions to work on
70
-
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.
94
+
Looking at the existing issues is a great way to find something to contribute on. As this is a repository for experimenting
95
+
and trying out new integrations, there may be few open issues filed but we're always happy to add more test apps for
96
+
different frameworks.
71
97
72
98
73
99
## Code of Conduct
@@ -82,4 +108,5 @@ If you discover a potential security issue in this project we ask that you notif
82
108
83
109
## Licensing
84
110
85
-
See the [LICENSE](LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
111
+
See the [LICENSE](LICENSE) file for our project's licensing. When contributing code, make sure there are no copyright
112
+
headers - the code is available for users to copy into their own apps.
# AWS Distro for OpenTelemetry Python Instrumentation
1
+
# AWS Distro for OpenTelemetry - Instrumentation for Python
2
2
3
3
## Introduction
4
4
5
-
This project provide AWS Distro base on[OpenTelemetry Python Contrib](https://github.com/open-telemetry/opentelemetry-python-contrib),
5
+
This project is a redistribution of the[OpenTelemetry Distro for Python](https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/opentelemetry-distro),
6
6
preconfigured for use with AWS services. Please check out that project too to get a better
7
-
understanding of the underlying internals.
7
+
understanding of the underlying internals. You won't see much code in this repository since we only
8
+
apply some small configuration changes, and our OpenTelemetry friends takes care of the rest. The
9
+
exception to this is support for Application Signals.
8
10
9
-
## Notices
11
+
We provided a Python agent that can be attached to any application using a supported Python version and dynamically injects
12
+
bytecode to capture telemetry from a number of popular libraries and frameworks. The telemetry data
13
+
can be exported in a variety of formats. In addition, the agent and exporter can be configured via
14
+
command line arguments or environment variables. The net result is the ability to gather telemetry
15
+
data from a Python application without any code changes.
10
16
11
-
### Python Version Support
12
-
This project ensures compatibility with the following supported Python versions: 3.8, 3.9, 3.10, 3.11
13
-
14
-
## Code Style Check
15
-
16
-
This package applies code style check automatically when created a push/pull request to the project repository. You can apply style check locally before submitting the PR by following:
17
-
1. Install related packages:
18
-
```sh
19
-
pip install isort pylint black flake8 codespell readme_renderer
20
-
```
21
-
2. Check code style errors using codespell and lint:
22
-
```sh
23
-
codespell
24
-
python scripts/eachdist.py lint --check-only
25
-
```
26
-
3. Apply the fix for the errors automatically:
27
-
```sh
28
-
codespell . --write-changes
29
-
python scripts/eachdist.py lint
30
-
```
31
-
32
-
## Unit test
33
-
This package detects all the unit tests defined in folder with naming "tests"/"test" under the same directory as pyproject.toml file. Please make sure to add unit test every time a new feature added.
34
-
The workflow will run the test tox environment automatically whenever there is a push/pull request. Please make sure you install the related package needed for the unit tests in `commands_pre`.
35
-
36
-
If you want to test a specific component/feature, please add a new environment in tox.ini file, and add related workflow as needed.
17
+
## Getting Started
18
+
19
+
Check out the [getting started documentation](https://aws-otel.github.io/docs/getting-started/python-sdk/auto-instr).
20
+
21
+
## Supported Python libraries and frameworks
22
+
For the complete list of supported frameworks, please refer to the [OpenTelemetry for Python documentation](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/README.md).
23
+
24
+
## Support
25
+
26
+
Please note that as per policy, we're providing support via GitHub on a best effort basis. However, if you have AWS Enterprise Support you can create a ticket and we will provide direct support within the respective SLAs.
27
+
28
+
## Security issue notifications
29
+
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
37
30
38
31
## License
39
32
40
33
This project is licensed under the Apache-2.0 License.
41
34
35
+
## Notices
36
+
37
+
### Python Version Support
38
+
This project ensures compatibility with the following supported Python versions: 3.8, 3.9, 3.10, 3.11
Copy file name to clipboardExpand all lines: aws-opentelemetry-distro/README.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
AWS OpenTelemetry Distro
2
-
========================================
1
+
AWS Distro For OpenTelemetry Python Distro
2
+
============================================
3
3
4
4
Installation
5
5
------------
@@ -9,7 +9,7 @@ Installation
9
9
pip install aws-opentelemetry-distro
10
10
11
11
12
-
This package provides AWS OpenTelemetry Python Distro, which allows for auto-instrumentation of Python applications.
12
+
This package provides Amazon Web Services distribution of the OpenTelemetry Python Instrumentation, which allows for auto-instrumentation of Python applications.
0 commit comments