Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Jun 18, 2021
1 parent 864d61b commit 2ab60f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.Objects;

/**
* Pattern converter to format the cluster_id variable into JSON fields <code>cluster.id</code>.
* Pattern converter to format the trace id provided in the traceparent header into JSON fields <code>trace.id</code>.
*/
@Plugin(category = PatternConverter.CATEGORY, name = "TraceIdConverter")
@ConverterKeys({"trace_id"})
Expand All @@ -43,7 +43,7 @@ public static String getTraceId() {
}

/**
* Formats the cluster.uuid into json fields.
* Formats the trace.id into json fields.
*
* @param event - a log event is ignored in this method as it uses the clusterId value
* from <code>NodeAndClusterIdStateListener</code> to format
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.Objects;

/**
* Pattern converter to format the cluster_id variable into JSON fields <code>cluster.id</code>.
* Pattern converter to format the transaction id provided in the traceparent header into JSON fields <code>transaction.id</code>.
*/
@Plugin(category = PatternConverter.CATEGORY, name = "TransactionIdConverter")
@ConverterKeys({"transaction_id"})
Expand All @@ -43,7 +43,7 @@ public static String getTransactionId() {
}

/**
* Formats the cluster.uuid into json fields.
* Formats the transaction.id into json fields.
*
* @param event - a log event is ignored in this method as it uses the clusterId value
* from <code>NodeAndClusterIdStateListener</code> to format
Expand Down

0 comments on commit 2ab60f0

Please sign in to comment.