From b738f85ad91bbd81d282e46a86d8cf7e48337505 Mon Sep 17 00:00:00 2001 From: Jonathan Gallimore Date: Thu, 8 Sep 2022 21:26:27 +0100 Subject: [PATCH] Doc changes Signed-off-by: Jonathan Gallimore --- spec/src/main/asciidoc/app-programming-model.adoc | 1 - spec/src/main/asciidoc/architecture.adoc | 5 ----- 2 files changed, 6 deletions(-) diff --git a/spec/src/main/asciidoc/app-programming-model.adoc b/spec/src/main/asciidoc/app-programming-model.adoc index a7c3bc61..5d6cbb1f 100644 --- a/spec/src/main/asciidoc/app-programming-model.adoc +++ b/spec/src/main/asciidoc/app-programming-model.adoc @@ -547,7 +547,6 @@ The object can be built via a `MetadataBuilder` with a fluent API. Metadata m = Metadata.builder() .withName("myMeter") .withDescription("Example meter") - .withType(MetricType.METER) .build(); Meter me = new MyMeterImpl(); diff --git a/spec/src/main/asciidoc/architecture.adoc b/spec/src/main/asciidoc/architecture.adoc index f6bec550..792edaea 100644 --- a/spec/src/main/asciidoc/architecture.adoc +++ b/spec/src/main/asciidoc/architecture.adoc @@ -170,11 +170,6 @@ The Metadata: * name: The name of the metric. * unit: a fixed set of string units -* type: -** counter: a monotonically increasing numeric value (e.g. total number of requests received). -** gauge: a metric that is sampled to obtain its value (e.g. cpu temperature or disk usage). -** histogram: a metric which calculates the distribution of a value. -** timer: a metric which aggregates timing durations and provides duration statistics. * description (optional): A human readable description of the metric. Metadata must not change over the lifetime of a process (i.e. it is not allowed