[ https://issues.apache.org/jira/browse/SOLR-15392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356513#comment-17356513 ]
ASF subversion and git services commented on SOLR-15392: -------------------------------------------------------- Commit f38dbd343a10a53f3c941eea83f3251588f52d9c in solr's branch refs/heads/main from David Smiley [ https://gitbox.apache.org/repos/asf?p=solr.git;h=f38dbd3 ] SOLR-15392: Tracing span operation name and tags (#115) The span operation name of a request is now composed of a command/verb and a templated path. ex: "reload:/c/{collection}" Add these span tags: * http.method * http.status_code * http.params (non-standard; renamed from just "params") * db.type ("solr") * db.instance (collection or core name) * db.user And some span.log for relatively uncommon SolrDispatchFilter cases. > Improve Tracing operation names and tags > ---------------------------------------- > > Key: SOLR-15392 > URL: https://issues.apache.org/jira/browse/SOLR-15392 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Reporter: David Smiley > Assignee: David Smiley > Priority: Major > Time Spent: 8h 10m > Remaining Estimate: 0h > > The distributed tracing span "operation name" should be a low cardinality > value, ideally not including host names or data set names or similar. > Ideally it starts with a verb then has something else about what the verb is > applied to. Examples: > * {{get:/{core}/select}} > * {{post:/{collection}/update}} > * {{list:/admin/collections}} > * {{create:/admin/cores}} > The following [span tags|https://opentracing.io/specification/conventions/] > could be populated: > * {{db.type}} : "solr" > * {{db.user}} : current authenticated user > * {{db.instance}} : collection or core (whichever the request is addressed to) -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org