diff --git a/Vostok.Tracing.Hercules/Readers/AnnotationReaders/HerculesSpecificAnnotationsReader.cs b/Vostok.Tracing.Hercules/Readers/AnnotationReaders/HerculesSpecificAnnotationsReader.cs index 2cd6e17..a2f3a24 100644 --- a/Vostok.Tracing.Hercules/Readers/AnnotationReaders/HerculesSpecificAnnotationsReader.cs +++ b/Vostok.Tracing.Hercules/Readers/AnnotationReaders/HerculesSpecificAnnotationsReader.cs @@ -18,18 +18,25 @@ public HerculesSpecificAnnotationsReader(Dictionary annotations) annotations[key] = value; return this; } - + public new IHerculesTagsBuilder AddValue(string key, string value) { if (annotations.ContainsKey(key)) annotations[key] = value; return this; } - + public new IHerculesTagsBuilder AddValue(string key, long value) { if (annotations.ContainsKey(key)) annotations[key] = value; return this; } + + public new IHerculesTagsBuilder AddValue(string key, double value) + { + if (annotations.ContainsKey(key)) + annotations[key] = value; + return this; + } } \ No newline at end of file