There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Partition Key Written by Azure Sink Sometimes Incorrect
When I run my application in the cloud the Azure sink seems to be writing partition keys correctly. However, when I run locally the partition keys written to my ATS tables are not consistent with the event times, which makes it difficult to use my log
searching tools (which obviously search using partition key).
I am working in the eastern US where currently the local time is GMT -5. What's odd is that the partition keys I'm seeing in my locally generated events are off of the actual event times by +5 hours--almost as if a UTC conversion is being done twice.
Here's an example:
Partition key: 0635608650000000000
GMT Event time: 3/1/2015 10:51:02 PM
If you use the above partition key as date ticks to create a date, the date value is actually 3/2/2015 3:50 AM.