Skip to content

Commit

Permalink
use semantic convention metric descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
puckpuck committed Apr 1, 2023
1 parent 23007d9 commit d227121
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ describe('metrics', () => {
assert.strictEqual(metrics[0].dataPointType, DataPointType.HISTOGRAM);
assert.strictEqual(
metrics[0].descriptor.description,
'measures the duration of the inbound HTTP requests'
'Measures the duration of inbound HTTP requests.'
);
assert.strictEqual(metrics[0].descriptor.name, 'http.server.duration');
assert.strictEqual(metrics[0].descriptor.unit, 'ms');
Expand Down Expand Up @@ -119,7 +119,7 @@ describe('metrics', () => {
assert.strictEqual(metrics[1].dataPointType, DataPointType.HISTOGRAM);
assert.strictEqual(
metrics[1].descriptor.description,
'measures the duration of the outbound HTTP requests'
'Measures the duration of outbound HTTP requests.'
);
assert.strictEqual(metrics[1].descriptor.name, 'http.client.duration');
assert.strictEqual(metrics[1].descriptor.unit, 'ms');
Expand Down

0 comments on commit d227121

Please sign in to comment.