Skip to content
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

Missing Event for logging when users toggle telemetry on/off #650

Closed
wants to merge 13 commits into from
Closed
14 changes: 14 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"types": [
{
"name": "toolkitTelemetryStatusType",
"type": "string",
"description": "The type to determine the users status of having telemetry event submitted or not.",
"allowedValues": ["OFF", "ON"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is a new type needed for this or could it use this:

"name": "enabled",
"type": "boolean",
"description": "True if turned on, false if turned off"
},

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we do carry this out, I would like to re-use types. I will delete this type from the PR.

},
{
"name": "appRunnerServiceSource",
"type": "string",
Expand Down Expand Up @@ -1062,6 +1068,14 @@
}
],
"metrics": [
{
"name": "toolkit_telemetryStatus",
"description": "A event for when users toggle the telemetry status for reporting metrics.",
"metadata": [
{ "type": "result" },
{ "type": "toolkitTelemetryStatusType" }
]
},
{
"name": "apigateway_copyUrl",
"description": "Copying an API Gateway remote URL",
Expand Down