Add telemetry query at start-up time
See original GitHub issueWe would like to start gathering telemetry on the usage of adapters like django-cockroachdb so that we have some notion of their popularity.
To support this, please add the following query at app start-up time:
SELECT crdb_internal.increment_feature_counter('Django %d.%d')
where the placeholders are the major and minor Django version numbers.
A couple additional details here:
- Ideally the query should be executed once at start-up time. In ActiveRecord we accomplished this by executing the query when the connection pool is initialized but there may be a better spot in Django.
- Depending on the CockroachDB version, the
increment_feature_counter
built-in may or may not be defined. (We added it in v21.1.) So we should ensure that an error is not bubbled up to the user if the query fails. - We would like to execute this query by default, but please also add a setting which allows the user to disable it. (In ActiveRecord we called this
disable_cockroachdb_telemetry
.)
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Add telemetry to your bot - Bot Service | Microsoft Learn
Querying your telemetry data in Application Insights using Kusto Queries · Go to the Azure portal · To go to your Application Insights...
Read more >Telemetry - Visual Studio Code
Visual Studio Code collects telemetry data, which is used to help understand how to improve the product. For example, this usage data helps...
Read more >Monitoring Applications using Application Insights
Exercise 3: Viewing Telemetry · Launch the application from Visual Studio and navigate through the application. 14 · Right click on the project ......
Read more >ASP.NET Core: Telemetry and Application Insights
There have been several changes in the last 6 months to the library. Please add the following code to your Startup.cs, Add Code...
Read more >Add Telemetry logs in application insights of httptrigger ...
This has nothing to do with telemetry. · can u guide me how to do that in startup class or share some link.....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@vy-ton the hashes are sha256 checksums. they can be found with these commands:
I’m not sure how to get those hashes.