@@ -155,7 +155,7 @@ public RootItemDto GetMetrics(int ttl = 30)
155155 var rootMetrics = new RootItemDto
156156 {
157157 Key = "instance" ,
158- Type = "instance " ,
158+ Type = "app_instance " ,
159159 Name = this . Name ,
160160
161161 Tags = new Dictionary < string , string >
@@ -174,7 +174,7 @@ public RootItemDto GetMetrics(int ttl = 30)
174174 var assemblyItem = new RootItemDto
175175 {
176176 Key = "assembly" ,
177- Type = "assembly " ,
177+ Type = "app_assembly " ,
178178 Name = this . Assembly . Name ( ) ,
179179
180180 Tags = new Dictionary < string , string > ( )
@@ -201,7 +201,7 @@ public RootItemDto GetMetrics(int ttl = 30)
201201 var canvasItem = new RootItemDto
202202 {
203203 Key = "canvas" ,
204- Type = "canvas " ,
204+ Type = "app_canvas " ,
205205 Name = this . Canvas . Info . Name ,
206206
207207 Tags = new Dictionary < string , string >
@@ -219,7 +219,7 @@ public RootItemDto GetMetrics(int ttl = 30)
219219 var machineItem = new RootItemDto
220220 {
221221 Key = "machine" ,
222- Type = "machine " ,
222+ Type = "app_machine " ,
223223 Name = MachineMetrics . MachineName ( ) ,
224224
225225 Tags = new Dictionary < string , string > ( )
@@ -281,7 +281,7 @@ public RootItemDto GetHeartbeatMetrics(int ttl = 30)
281281 {
282282 Key = $ "hb_{ dateTime . ToUnixTimeSeconds ( ) } ",
283283
284- Type = "instance_hb " ,
284+ Type = "app_instance_hb " ,
285285 Name = "Instance Heartbeat" ,
286286 Date = DateTime . Now ,
287287
0 commit comments