Add Prometheus Remote Write Exporter (1/6)#180
Add Prometheus Remote Write Exporter (1/6)#180codeboten merged 1 commit intoopen-telemetry:masterfrom
Conversation
0c4ba24 to
31b910d
Compare
d0cab05 to
a8c4ffc
Compare
codeboten
left a comment
There was a problem hiding this comment.
A few minor changes needed, would be good to add some info regarding the source of the protos for prometheus as well.
| References | ||
| ---------- | ||
|
|
||
| * `Datadog <https://prometheus.io/>`_ |
There was a problem hiding this comment.
| * `Datadog <https://prometheus.io/>`_ | |
| * `Prometheus <https://prometheus.io/>`_ |
| OpenTelemetry Prometheus Remote Write Exporter | ||
| ============================================== | ||
|
|
||
| This library allows exporting metric data to `Prometheus Write Integrated Backends |
There was a problem hiding this comment.
Should this say Prometheus Remote Write?
| long_description_content_type = text/x-rst | ||
| author = OpenTelemetry Authors | ||
| author_email = [email protected] | ||
| url = https://github.com/open-telemetry/opentelemetry-python/exporter/opentelemetry-exporter-datadog |
| =src | ||
| packages=find_namespace: | ||
| install_requires = | ||
| ddtrace>=0.34.0 |
There was a problem hiding this comment.
No, it is a remnant from the datadog exporter I used as template, removed.
| @@ -0,0 +1,3 @@ | |||
| # Changelog | |||
|
|
|||
| ## Unreleased | |||
There was a problem hiding this comment.
I would include "initial release" and the PRs associated.
There was a problem hiding this comment.
Added Initial Release in CHANGELOG and will update it with each subsequent PR.
|
Did we decide to create this in the |
|
We were not sure where the exporter would reside so thought we would make the PRs on the contrib repo for now to get the reviews going. Once the standard location for prometheus exporters is decided, we can move one or the other. |
a1f5c7d to
61bc919
Compare
|
I addressed all the requested changes @lzchen @codeboten |
61bc919 to
9ca8b3e
Compare
|
@lzchen @codeboten from a high level, how do you want to handle reviewing this six-parter? It may be more efficient for the same people to review all PRs. happy to volunteer. Currently I'm not too inclined to review 3/6 which I was assigned, since I have to go read 1 and 2 first anyway. |
| @@ -0,0 +1,82 @@ | |||
| // Copyright 2016 Prometheus Team | |||
There was a problem hiding this comment.
it looks like these are copied from the prometheus library itself. Probably fine.
Are there any thoughts around what the update story would look like? just copy the protos over I suppose.
There was a problem hiding this comment.
just copy the protos over I suppose.
Yup! thats the plan currently
|
I'm going to be reviewing all 6. Others are more than welcome to chime in as well. |
|
|
||
| ## Unreleased | ||
|
|
||
| ## Initial Release |
There was a problem hiding this comment.
nit:
this change can just be under the ## Unreleased section, when the release is done, the correct version tag title will be applied to the changelog
There was a problem hiding this comment.
Rebased and updated CHANGELOG to use Unreleased
codeboten
left a comment
There was a problem hiding this comment.
Changes look good, holding off on merging until we get this release out to prevent releasing the prometheus package before the other PRs are merged
d063662 to
7d7883f
Compare
codeboten
left a comment
There was a problem hiding this comment.
Please update the branch and we can merge!
59b0634 to
83e15ea
Compare
83e15ea to
40fc34e
Compare
Description
This is PR 1/6 of adding a Prometheus Remote Write Exporter in Python SDK and address Issue open-telemetry/opentelemetry-python#1302
👉 Part 1/6
Part 2/6
Part 3/6
Part 4/6
Part 5/6
Part 6/6
Type of change
How Has This Been Tested?
TestValidationintest_prometheus_remote_write_exporter.pyDoes This PR Require a Core Repo Change?
Checklist:
cc- @AzfaarQureshi , @alolita