Skip to content

Conversation

@olivakar
Copy link
Collaborator

@olivakar olivakar commented May 28, 2020

Change all DPS samples to send telemetry

@olivakar olivakar requested a review from jebrando May 28, 2020 21:17
@olivakar
Copy link
Collaborator Author

/azp run Azure.azure-iot-sdk-python-dps-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@olivakar
Copy link
Collaborator Author

/azp run Azure.azure-iot-sdk-python-dps-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

msg.correlation_id = "correlation-1234"
msg.custom_properties["count"] = i
msg.custom_properties["tornado-warning"] = "yes"
await device_client.send_message(msg)
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need to set properties here (and other places), we want to make it as concise as possible

Copy link
Contributor

@jebrando jebrando left a comment

Choose a reason for hiding this comment

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

:shipit:

@olivakar olivakar merged commit 10cd6fa into Azure:master Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants