-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Prometheus Remote Write Exporter (1/6) #180
Add Prometheus Remote Write Exporter (1/6) #180
Conversation
0c4ba24
to
31b910d
Compare
d0cab05
to
a8c4ffc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* `Datadog <https://prometheus.io/>`_ | |
* `Prometheus <https://prometheus.io/>`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
OpenTelemetry Prometheus Remote Write Exporter | ||
============================================== | ||
|
||
This library allows exporting metric data to `Prometheus Write Integrated Backends |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this say Prometheus Remote Write?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
long_description_content_type = text/x-rst | ||
author = OpenTelemetry Authors | ||
author_email = cncf-opentelemetry-contributors@lists.cncf.io | ||
url = https://github.com/open-telemetry/opentelemetry-python/exporter/opentelemetry-exporter-datadog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url needs updating
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
=src | ||
packages=find_namespace: | ||
install_requires = | ||
ddtrace>=0.34.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is ddtrace necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would include "initial release" and the PRs associated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased and updated CHANGELOG to use Unreleased
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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?
TestValidation
intest_prometheus_remote_write_exporter.py
Does This PR Require a Core Repo Change?
Checklist:
cc- @AzfaarQureshi , @alolita