azure - How is the RowKey formed in the WADMetrics*** table? -
i'm looking understand data returned wadmetricspt1hp10dv2s20160415
table inside azure's storage account.
it has partitionkey, rowkey , entityproperties. partitionkey, understand. translates resource id of resource inside storage account. however, partially understand rowkey. example rowkey is:
:005cnetworkinterface:005cpacketsreceived__2519410355999999999
i understand first part, metric name. don't understand in number/digits follow. assuming timestamp, can't sure.
i attempting use rowkey filter, due added wrinkle it's impossible generate rowkey , use filter. know how generate numbers/digits in order create rowkey filter?
if you're curious know 2519410355999999999
number is, reverse ticks derived subtracting event date/time ticks max date/time ticks value. derive date/time value number, here's can do:
long reverseticks = 2519410355999999999; long maxticks = datetime.maxvalue.ticks; var datetime = new datetime(maxticks - reverseticks, datetimekind.utc);
Comments
Post a Comment