Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17bef26

Browse files
c24tOberon00
authored andcommitted
Flesh out README, add release schedule (open-telemetry#127)
* Flesh out README, add release schedule * Update README.md Co-Authored-By: Christian Neumüller <[email protected]> * Update README.md Co-Authored-By: Christian Neumüller <[email protected]> * Add note about alpha/beta compatability, support * Move development notes into contributing doc * Add note about library, app dev API/SDK use
1 parent 42acdb9 commit 17bef26

File tree

2 files changed

+80
-8
lines changed

2 files changed

+80
-8
lines changed

CONTRIBUTING.md

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,26 @@ See the [public meeting notes](https://docs.google.com/document/d/1CIMGoIOZ-c3-i
88
for a summary description of past meetings. To request edit access, join the
99
meeting or get in touch on [Gitter](https://gitter.im/open-telemetry/opentelemetry-python).
1010

11-
## Pull Request
11+
## Development
12+
13+
This project uses [`tox`](https://tox.readthedocs.io) to automate some aspects
14+
of development, including testing against multiple Python versions.
15+
16+
You can run:
17+
18+
- `tox` to run all existing tox commands, including unit tests for all packages
19+
under multiple Python versions
20+
- `tox -e docs` to regenerate the API docs
21+
- `tox -e test-api` and `tox -e test-sdk` to run the API and SDK unit tests
22+
- `tox -e py37-test-api` to e.g. run the the API unit tests under a specific
23+
Python version
24+
- `tox -e lint` to run lint checks on all code
25+
26+
See
27+
[`tox.ini`](https://github.com/open-telemetry/opentelemetry-python/blob/master/tox.ini)
28+
for more detail on available tox commands.
29+
30+
## Pull Requests
1231

1332
### How to Send Pull Requests
1433

@@ -52,7 +71,7 @@ Open a pull request against the main `opentelemetry-python` repo.
5271
as `work-in-progress`, or mark it as [`draft`](https://github.blog/2019-02-14-introducing-draft-pull-requests/).
5372
* Make sure CLA is signed and CI is clear.
5473

55-
### How to Get PR Merged
74+
### How to Get PRs Merged
5675

5776
A PR is considered to be **ready to merge** when:
5877
* It has received two approvals from Collaborators/Maintainers (at different
@@ -85,10 +104,13 @@ rather than conform to specific API names or argument patterns in the spec.
85104

86105
For a deeper discussion, see: https://github.com/open-telemetry/opentelemetry-specification/issues/165
87106

88-
## Styleguide
107+
## Style Guide
89108

90-
* docstrings should adhere to the Google styleguide as specified
91-
with the [napolean extension](http://www.sphinx-doc.org/en/master/usage/extensions/napoleon.html#google-vs-numpy) extension in [Sphinx](http://www.sphinx-doc.org/en/master/index.html).
109+
* docstrings should adhere to the [Google Python Style
110+
Guide](http://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings)
111+
as specified with the [napolean
112+
extension](http://www.sphinx-doc.org/en/master/usage/extensions/napoleon.html#google-vs-numpy)
113+
extension in [Sphinx](http://www.sphinx-doc.org/en/master/index.html).
92114

93115
## Become a Collaborator
94116

@@ -110,4 +132,4 @@ To become a Maintainer:
110132
* Become a Collaborator.
111133
* Demonstrate the ability and commitment.
112134
* Contact the Maintainers, express the willingness and commitment.
113-
* Acknowledged and approved by all the current Maintainers.
135+
* Acknowledged and approved by all the current Maintainers.

README.md

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,37 @@ The Python [OpenTelemetry](https://opentelemetry.io/) client.
88

99
## Installation
1010

11-
## Usage
11+
This repository includes multiple installable packages. The `opentelemetry-api`
12+
package includes abstract classes and no-op implementations that comprise the OpenTelemetry API following
13+
[the
14+
specification](https://github.com/open-telemetry/opentelemetry-specification).
15+
The `opentelemetry-sdk` package is the reference implementation of the API.
16+
17+
Libraries that produce telemetry data should only depend on `opentelemetry-api`,
18+
and defer the choice of the SDK to the application developer. Applications may
19+
depend on `opentelemetry-sdk` or another package that implements the API.
20+
21+
To install the API and SDK packages, fork or clone this repo and do an
22+
[editable
23+
install](https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs)
24+
via `pip`:
25+
26+
```sh
27+
pip install -e ./opentelemetry-api
28+
pip install -e ./opentelemetry-sdk
29+
```
30+
31+
The
32+
[`ext/`](https://github.com/open-telemetry/opentelemetry-python/tree/master/ext)
33+
directory includes OpenTelemetry integration packages, which can be installed
34+
separately as:
35+
36+
```sh
37+
pip install -e ./ext/opentelemetry-ext-{integration}
38+
```
39+
40+
## Quick Start
41+
1242
```python
1343
from opentelemetry import trace
1444
from opentelemetry.context import Context
@@ -28,4 +58,24 @@ with tracer.start_span('foo'):
2858

2959
## Contributing
3060

31-
See [CONTRIBUTING.md](CONTRIBUTING.md)
61+
See [CONTRIBUTING.md](CONTRIBUTING.md)
62+
63+
## Release Schedule
64+
65+
OpenTelemetry Python is under active development. Our goal is to release an
66+
_alpha_ version of the library at the end of September 2019. This release isn't
67+
guaranteed to conform to a specific version of the specification, and future
68+
releases will not attempt to maintain backwards compatibility with the alpha
69+
release.
70+
71+
| Component | Version | Target Date |
72+
| --------------------------- | ------- | ----------------- |
73+
| Tracing API | Alpha | September 30 2019 |
74+
| Tracing SDK | Alpha | September 30 2019 |
75+
| Metrics API | Alpha | September 30 2019 |
76+
| Metrics SDK | Alpha | September 30 2019 |
77+
| Jaeger Trace Exporter | Alpha | Unknown |
78+
| Prometheus Metrics Exporter | Alpha | Unknown |
79+
| Context Propagation | Alpha | September 30 2019 |
80+
| OpenTracing Bridge | Alpha | Unknown |
81+
| OpenCensus Bridge | Alpha | Unknown |

0 commit comments

Comments
 (0)