opencensus-python
opencensus-python copied to clipboard
A stats collection and distributed tracing framework
**Describe your environment.** Python version 3.7.11 on Linux, opencensus-ext-azure v1.1.1, AKS v1.22.6. **Steps to reproduce.** I have a python scripts which is using opencensus-ext-azure package to export logs to App...
https://github.com/census-instrumentation/opencensus-python/issues/1139
closes https://github.com/census-instrumentation/opencensus-python/issues/1020 This PR adds the [FastAPI](https://fastapi.tiangolo.com/) extension into `contrib` dir. Just like the stackdriver extension, it targets py3.6 and above that FastAPI supports.
**Describe your environment.** Remove upper version limit for sqlalchemy in `opencensus-ext-sqlalchemy` ``` 'SQLAlchemy >= 1.1.14, < 1.3.24', # https://github.com/sqlalchemy/sqlalchemy/issues/6168 # noqa: E501 ``` since [https://github.com/sqlalchemy/sqlalchemy/issues/6168](https://github.com/sqlalchemy/sqlalchemy/issues/6168) has been fixed this is...
``` Python 3.5.2 Django 2.2.10 celery==4.2.2 opencensus==0.7.7 opencensus-context==0.1.1 opencensus-ext-azure==1.0.2 opencensus-ext-django==0.7.2 opencensus-ext-logging==0.1.0 ``` After a loooong investigation and many experiments with various ways of configuring logging in Celery tasks and django,...
# What we are trying to address The changes in this PR allows devs to configure the logged cloud role name (in AppInsights) using an environment variable (APPLICATIONINSIGHTS_ROLE_NAME) - if...
When not supplying any storage path to the options object, the default directory used takes the name of the instrumentation key. This then allows someone with file system access to...
**Is your feature request related to a problem?** Using Azure´s "Always On" feature pings "/" every 5 minutes. This fills up my applications insights with messages that has no use...
It is unclear how to set the cloud role value for a log record. According to https://github.com/census-instrumentation/opencensus-python/blob/5ad2a7cc62fc9663d186e15636a7b0306c9a8d7a/contrib/opencensus-ext-azure/opencensus/ext/azure/common/utils.py#L27 the cloud is always `'ai.cloud.role': os.path.basename(sys.argv[0]) or 'Python Application'` This is a problem...
**Describe your environment.** MacOS 10.14.6 Python 3.7.5 opencensus-ext-azure==1.0.4 opencensus-ext-requests==0.7.3 **Steps to reproduce.** I have code that I want to monitor the dependency calls to Azure DevOps APIs. Our code is...