@podium/context
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -54,2 +54,10 @@ 'use strict'; | ||
this.histogram = this.metrics.histogram({ | ||
name: 'podium_context_process', | ||
description: | ||
'Time taken to run all context parsers in the process method', | ||
labels: { name: '' }, | ||
buckets: [0.001, 0.01, 0.1, 0.5, 1], | ||
}); | ||
this.register('publicPathname', new PublicPathname(publicPathname)); | ||
@@ -96,11 +104,3 @@ this.register('mountPathname', new MountPathname(mountPathname)); | ||
const histogram = this.metrics.histogram({ | ||
name: 'podium_context_process', | ||
description: | ||
'Time taken to run all context parsers in the process method', | ||
labels: { name: incoming.name }, | ||
}); | ||
const timer = histogram.timer({ | ||
meta: { buckets: [0.001, 0.01, 0.1, 0.5, 1] }, | ||
}); | ||
const timer = this.histogram.timer({ name: incoming.name }); | ||
@@ -107,0 +107,0 @@ const parsers = Array.from(this.parsers); |
{ | ||
"name": "@podium/context", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "Module to generate the context which is passed on requests from a Podium Layout server to a Podium Podlet server", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32874
296