-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cherrypy Test and docs #3
Cherrypy Test and docs #3
Conversation
…or instrumentation
|
||
|pypi| | ||
|
||
.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-cherrypy.svg |
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 it a working link?
|pypi| | ||
|
||
.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-cherrypy.svg | ||
:target: https://pypi.org/project/opentelemetry-instrumentation-cherrypy/ |
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.
This link is also not working. We need to fix this.
Exclude lists | ||
************* | ||
To exclude certain URLs from being tracked, set the environment variable ``OTEL_PYTHON_CHERRYPY_EXCLUDED_URLS`` | ||
(or ``OTEL_PYTHON_CHERRYPY_URLS`` as fallback) with comma delimited regexes representing which URLs to exclude. |
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 should be OTEL_PYTHON_EXCLUDED_URLS
.
References | ||
---------- | ||
|
||
* `OpenTelemetry CherryPy Instrumentation <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/cherrypy/cherrypy.html>`_ |
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.
This is also not working link.
"os.environ", | ||
{ | ||
"OTEL_PYTHON_CHERRYPY_EXCLUDED_URLS": "ping", | ||
"OTEL_PYTHON_CHERRYPY_TRACED_REQUEST_ATTRS": "query_string", |
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.
Where do we add this env variable?
I don't see implementation for using this env variable.
|
||
return cherrypy.tree.mount(CherryPyApp()) | ||
|
||
setup_server = staticmethod(setup_server) |
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 think using @staticmethod
decorator would be better.
…or instrumentation
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.