File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
core/src/main/java/com/microsoft/applicationinsights/extensibility/context Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,24 @@ public void setId(String id) {
5151 MapUtil .setStringValueOrRemove (tags , ContextTagKeys .getKeys ().getOperationId (), id );
5252 }
5353
54+ /**
55+ * Set the Operation Parent id
56+ * @param parentId
57+ */
58+ public void setParentId (String parentId ) {
59+ MapUtil .setStringValueOrRemove (tags , ContextTagKeys .getKeys ().getOperationParentId (), parentId );
60+ }
61+
62+
63+ /**
64+ * Get the operation parent id
65+ * @return
66+ */
67+
68+ public String getParentId () {
69+ return MapUtil .getValueOrNull (tags , ContextTagKeys .getKeys ().getOperationParentId ());
70+ }
71+
5472 /**
5573 * Gets the operation name.
5674 * @return Operation name.
You can’t perform that action at this time.
0 commit comments