Ejemplo n.º 1
0
        public override Measure <long> CreateInt64Measure(string name, bool absolute = true)
        {
            if (!this.longMeasures.TryGetValue(name, out var measure))
            {
                measure = new MeasureSdk <long>(name);

                this.longMeasures.Add(name, measure);
            }

            return(measure);
        }
Ejemplo n.º 2
0
        public override Measure <double> CreateDoubleMeasure(string name, bool absolute = true)
        {
            if (!this.doubleMeasures.TryGetValue(name, out var measure))
            {
                measure = new MeasureSdk <double>(name);

                this.doubleMeasures.Add(name, measure);
            }

            return(measure);
        }