Remove reference from metric to the registry
As this is unused, and will allow registering a metric with multiple registries.
This commit is contained in:
parent
4aaf902eb4
commit
d0bca34214
1 changed files with 1 additions and 5 deletions
|
|
@ -67,13 +67,12 @@ metrics relate to."
|
|||
namespace))
|
||||
|
||||
(define-record-type <metric>
|
||||
(make-metric type name values registry docstring labels label-preset-values
|
||||
(make-metric type name values docstring labels label-preset-values
|
||||
mutex)
|
||||
metric?
|
||||
(type metric-type)
|
||||
(name metric-name)
|
||||
(values metric-values)
|
||||
(registry metric-registry)
|
||||
(docstring metric-docstring)
|
||||
(labels metric-labels)
|
||||
(label-preset-values metric-label-preset-values)
|
||||
|
|
@ -120,7 +119,6 @@ list of label names to be permitted for this metric and
|
|||
(make-metric 'counter
|
||||
name
|
||||
(make-hash-table)
|
||||
registry
|
||||
docstring
|
||||
labels
|
||||
label-preset-values
|
||||
|
|
@ -149,7 +147,6 @@ list of label names to be permitted for this metric and
|
|||
(make-metric 'gauge
|
||||
name
|
||||
(make-hash-table)
|
||||
registry
|
||||
docstring
|
||||
(map canonicalise-label labels)
|
||||
(canonicalise-label-values label-preset-values)
|
||||
|
|
@ -241,7 +238,6 @@ list of label names to be permitted for this metric and
|
|||
(make-metric (make-histogram-metric-type buckets)
|
||||
name
|
||||
(make-hash-table)
|
||||
registry
|
||||
docstring
|
||||
labels
|
||||
label-preset-values
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue