yes-core 2.4.3 → 2.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/yes/core/command_handling/command_handler.rb +5 -1
- data/lib/yes/core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9fb1cb54a16eac6310fbbe1bc287d705c4fa0c92cbcb3ec55ae8e763efafaea
|
|
4
|
+
data.tar.gz: 7e218f6cbbb4fc56c1b067e0c1b00cae090bf932692b04ed1a8b5f5255c0236d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17517ccd7d18cb454bd165631f13ed66c1632c7202336ccd4c0a7595fc016633e9723efccd78936470ebc0376da38d388577c22f46a2eb7c5f1029e4c7b4ad6f
|
|
7
|
+
data.tar.gz: a871ad9ce20b63befd0215e9d170fc2d8c7d6a9abec352bd9e7e00ca3df58b7b5f29978e04aff42e8c84e96dd9a87af7cd4afe00d254e7f373d2c18eac18d1d4
|
data/CHANGELOG.md
CHANGED
|
@@ -13,7 +13,11 @@ module Yes
|
|
|
13
13
|
class CommandHandler
|
|
14
14
|
# Span attribute naming the command that ran. The span keeps a fixed name so its
|
|
15
15
|
# latency histogram stays one series per service; this is how the command is identified.
|
|
16
|
-
|
|
16
|
+
#
|
|
17
|
+
# Not the bare `command`: CommandCerbosAuthorizer already puts the serialised command
|
|
18
|
+
# on an attribute of that name, and a metrics pipeline that exports span attributes by
|
|
19
|
+
# name cannot tell the two apart. It would export the payload, one series per payload.
|
|
20
|
+
COMMAND_ATTRIBUTE = 'command.name'
|
|
17
21
|
|
|
18
22
|
include Yes::Core::OpenTelemetry::Trackable
|
|
19
23
|
|
data/lib/yes/core/version.rb
CHANGED