tanishq-chugh commented on code in PR #5535:
URL: https://github.com/apache/hive/pull/5535#discussion_r2915858775
##########
service/src/java/org/apache/hive/service/servlet/OTELExporter.java:
##########
@@ -214,6 +214,7 @@ private AttributesMap addQueryAttributes(QueryInfo query){
attributes.put(AttributeKey.stringKey("UserName"), query.getUserName());
attributes.put(AttributeKey.stringKey("State"), query.getState());
attributes.put(AttributeKey.stringKey("SessionId"), query.getSessionId());
+ attributes.put(AttributeKey.stringKey("TezCounters"),
query.getQueryDisplay().getCountersAsString());
Review Comment:
With latest changes, as we are exposing group of counters as separate
attributes, if there are no counters, no empty attributes will be exposed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]