We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2df100 commit e07a5d0Copy full SHA for e07a5d0
ddtrace/span.py
@@ -152,8 +152,10 @@ def set_metas(self, kvs):
152
self.set_tags(kvs)
153
154
def set_metric(self, key, value):
155
- # FIXME[matt] we could push this check to serialization time as well.
+ # This method sets a numeric tag value for the given key. It acts
156
+ # like `set_meta()` and it simply add a tag without further processing.
157
158
+ # FIXME[matt] we could push this check to serialization time as well.
159
# only permit types that are commonly serializable (don't use
160
# isinstance so that we convert unserializable types like numpy
161
# numbers)
0 commit comments