MetricsTrait
trait MetricsTrait (View source)
internal |
Trait containing helper methods required for enabling observability metrics in the library.
Properties
static protected string | $metricMetadataKey |
Methods
static string
getMetricsHeader(string $credType = '', string $authRequestType = '')
No description
array
applyServiceApiUsageMetrics(array $metadata)
No description
array
applyTokenEndpointMetrics(array $metadata, string $authRequestType)
No description
static string
getVersion()
No description
string
getCredType()
No description
Details
static protected string
getMetricsHeader(string $credType = '', string $authRequestType = '')
No description
protected array
applyServiceApiUsageMetrics(array $metadata)
No description
protected array
applyTokenEndpointMetrics(array $metadata, string $authRequestType)
No description
static protected string
getVersion()
No description
protected string
getCredType()
No description