I am doing project on Python. Currently it uses OpenCensus AzureMonitorTraceExporter as logging handler to write data to Application Insights. It is important for the client to use Usage section of Application Insights (Users, Events and Sessions specifically). But Usage takes data from the customEvents table of Application Insights and sending writing data to customEvents is not supported by Open Telemetry. Is there any way now to utilize Users, Events and Sessions without using deprecated libraries in Python code?
Collecting data for Custom Events of Application Insights using Python
158 Views Asked by Dmitry Sazhnev At
1
There are 1 best solutions below
Related Questions in AZURE-APPLICATION-INSIGHTS
- Not getting Information or Trace logs in Application Insights in .NET 8 function
- Custom Metrics stop saving in App Insight after one hour
- Kotlin and autocollect appinsight-agent.jar
- APPLICATIONINSIGHTS_CONNECTION_STRING not working anymore for version 3.5.0 and 3.5.1
- Azure Event Hub metrics on Application Insights
- ApplicationInsights high memory usage
- log4net Application Insights - not receiving all logs when deployed
- Logic App Standard tracked properties not showing up in Application Insights / Azure Log Analytics logs
- How does Application Insights' Provider load?
- Azure App Service Application Insights no longer showing request data
- Application Insights capturing ALL traces while appsettings.json level is set as Inforamtion
- What are good/important steps to take when adding Application Insights to a mature piece of software?
- my operation name is blank in application insights
- How to disable adaptive sampling while passing instrumentationKey in AddApplicationInsightsTelemetryWorkerService()
- Azure application map shows multiple services as one
Related Questions in OPEN-TELEMETRY
- OpenTelemetry in an multi-tenant ASP.NET Core app
- OpenTelemetry OLTP Java server example
- Opentelemetry Surpresses Kafka Produce Message Java
- Trace a single endpoint with AWS Distro for OpenTelemetry (ADOT)
- Open telemetry integration in java
- Create new Opentelemetry Trace in java
- Why not let the `instanceid` of `opampextension` directly use the value of `service.instance.id`?
- Opentelemetry helm charts could not create replicaset on Kubernetes
- How to get SQL statements using open telemetry and auto-instrumentation on IIS
- How to implement Sunbird telemetry in React
- Load ESM module using import-in-the-middle
- OpenTelemetry + Jaeger tracing "Warnings: invalid parent span IDs=XXXX; skipping clock skew adjustment"
- prometheus metric failed when add process metric
- How to ensure consistent trace_id across microservices with OpenTelemetry and gRPC in Go
- Opentelemetry manual traceparent creation
Related Questions in AZURE-PYTHON-SDK
- How to use parameter in Azure sql_input with LIKE SQL command
- Error on Hybrid Search using Azure AI Search
- Azure hide not mine logs - see only my logs
- Why do we need to open a file to upload it to Azure Blob storage?
- Invoke AzureML Batch Endpoint from ADF
- Get the Services and it names List By Location in Azure Subscription
- Cannot mimic manual document split in Azure, programatically, using Azure SplitSkill
- Error adding skillset to Azure Search Indexer
- Azure Service Bus message retrieval all have same lock times
- Azure python api for compute images get(). Adding special character * to the argument 'image_name'
- Collecting data for Custom Events of Application Insights using Python
- AzureDefaultCredentials fail with Authorization Code: None
- How to create Elliptic curve key in the Vault using Python SDK
- 'Required parameter 'adminPassword' is missing (null)", while creating vmss with ssh key auth via azure python sdk
- Azure function app python v2 model - unclosed aiohttp session
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
AFAIK, newer versions are sending data to dependencies and custom metrics but not to CustomEvents. Below code works and sends logs to CustomEvents and I followed Microsoft-Document:
Output: