This repository contains a program that collects Dapr SDK and community metrics.
At the moment the data sources include:
- Discord users
- Nuget package downloads for
Dapr.Client
- Npm package downloads for
@dapr/dapr
- Python package downloads for
dapr
- GitHub data for all repositories under the dapr org:
- Commits
- Issues
- Comments
- Pull Requests
The program is a .NET web service that's using Dapr workflow.
The program is run in a GitHub Codespace on the 1st and 16th of each month.
-
Start the .NET service:
dapr run -f .
-
Run the
CollectorWorkflow
workflow via the Dapr http endpoint. Use the local-test.http file with the VSCode REST client (should be pre-configured with the Codespace).POST {{dapr_url}}/v1.0-beta1/workflows/dapr/CollectorWorkflow/start?instanceID={{workflow_id}} Content-Type: application/json { "CollectionDate" : "{{currentDate}}", "CollectNuGetData" : true, "CollectNpmData" : true, "CollectPythonData" : true, "CollectDiscordData" : true, "CollectGitHubData" : true }