Fixup3
This commit is contained in:
@@ -683,7 +683,7 @@ def get_prometheus_exemplar(
|
||||
|
||||
trace_id = getattr(span, "trace_id", None)
|
||||
|
||||
return {"trace_id": trace_id}
|
||||
return {"trace_id": f"{trace_id:x}"}
|
||||
|
||||
|
||||
@ensure_active_span("set a tag")
|
||||
|
||||
@@ -13,7 +13,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from prometheus_client import REGISTRY, CollectorRegistry, generate_latest
|
||||
from prometheus_client import REGISTRY, CollectorRegistry
|
||||
from prometheus_client.openmetrics.exposition import generate_latest
|
||||
|
||||
from twisted.web.resource import Resource
|
||||
from twisted.web.server import Request
|
||||
|
||||
Reference in New Issue
Block a user