v1.1.4
Latest
2022.3+
Class MetricsMock
Inheritance
System.Object
MetricsMock
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.WireDirect.Tests.Stubs
Syntax
public class MetricsMock : IMetrics
Methods
SendGaugeMetric(String, Double, IDictionary<String, String>)
Declaration
public void SendGaugeMetric(string name, double value = 0, IDictionary<string, string> tags = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Double | value | |
System.Collections.Generic.IDictionary<System.String, System.String> | tags |
Implements
SendHistogramMetric(String, Double, IDictionary<String, String>)
Declaration
public void SendHistogramMetric(string name, double time, IDictionary<string, string> tags = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Double | time | |
System.Collections.Generic.IDictionary<System.String, System.String> | tags |
Implements
SendSumMetric(String, Double, IDictionary<String, String>)
Declaration
public void SendSumMetric(string name, double value = 1, IDictionary<string, string> tags = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Double | value | |
System.Collections.Generic.IDictionary<System.String, System.String> | tags |