fix metrics case (#2807)

This commit is contained in:
Thibault S 2021-05-19 10:14:23 +02:00 committed by GitHub
parent def5ed1352
commit 9294bd5de6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -29,14 +29,14 @@ sub get_metrics_mapping {
my ($self, %options) = @_; my ($self, %options) = @_;
my $metrics_mapping = { my $metrics_mapping = {
'BytesReceived' => { 'bytesreceived' => {
'output' => 'Clients Bytes Received', 'output' => 'Clients Bytes Received',
'label' => 'clients-bytes-received', 'label' => 'clients-bytes-received',
'nlabel' => 'appgateway.traffic.clients.received.bytes', 'nlabel' => 'appgateway.traffic.clients.received.bytes',
'unit' => 'B', 'unit' => 'B',
'min' => '0' 'min' => '0'
}, },
'BytesSent' => { 'bytessent' => {
'output' => 'Clients Bytes Sent', 'output' => 'Clients Bytes Sent',
'label' => 'clients-bytes-sent', 'label' => 'clients-bytes-sent',
'nlabel' => 'appgateway.traffic.clients.sent.bytes', 'nlabel' => 'appgateway.traffic.clients.sent.bytes',

View File

@ -50,7 +50,7 @@ sub get_metrics_mapping {
'unit' => '', 'unit' => '',
'min' => '0' 'min' => '0'
}, },
'FixedBillableCapacityUnits' => { 'fixedbillablecapacityunits' => {
'output' => 'Fixed Billable Capacity Units', 'output' => 'Fixed Billable Capacity Units',
'label' => 'fixed-billable-units', 'label' => 'fixed-billable-units',
'nlabel' => 'appgateway.billable.units.fixed.count', 'nlabel' => 'appgateway.billable.units.fixed.count',