Skip to content

Commit

Permalink
🐛 (RUMM-255): Let the Span type use custom
Browse files Browse the repository at this point in the history
The type defines the icon next to the spans in the dashboard,
and can have the following values:
 - web
 - db
 - cache
 - custom
  • Loading branch information
xgouchet committed Feb 25, 2020
1 parent dcc26b7 commit 7e13ab7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ internal class SpanSerializer(
jsonObject.addProperty(TAG_DURATION, model.durationNano)
jsonObject.addProperty(TAG_START_TIMESTAMP, model.startTime + serverOffset)
jsonObject.addProperty(TAG_ERROR, if (model.isError) 1 else 0)
jsonObject.addProperty(TAG_TYPE, "object") // do not know yet what should be here
jsonObject.addProperty(TAG_TYPE, "custom")
addMeta(jsonObject, model)
addMetrics(jsonObject, model)
return jsonObject.toString()
Expand Down

0 comments on commit 7e13ab7

Please sign in to comment.