.builder(FluxMetrics.METER_SUBSCRIBED) .tags(commonTags) .baseUnit("subscribers") .description("Counts how many Reactor sequences have been subscribed to") .register(registry);
.builder(METER_SUBSCRIBED) .tags(commonTags) .baseUnit("subscribers") .description("Counts how many Reactor sequences have been subscribed to") .register(registry);
.builder(FluxMetrics.METER_SUBSCRIBED) .tags(commonTags) .baseUnit("subscribers") .description("Counts how many Reactor sequences have been subscribed to") .register(registry);
.builder(METER_SUBSCRIBED) .tags(commonTags) .baseUnit("subscribers") .description("Counts how many Reactor sequences have been subscribed to") .register(registry);
.description("cumulative amount of bytes received") .tag("transport", transport) .baseUnit("bytes") .register(registryInstance); this.spans =
/** * Creates a new counter builder for the given method. By default the base unit will be messages. * * @param method The method the counter will be created for. * @param name The name of the counter to use. * @param description The description of the counter to use. * @return The newly created counter builder. */ public static Counter.Builder prepareCounterFor(final MethodDescriptor<?, ?> method, final String name, final String description) { return Counter.builder(name) .description(description) .baseUnit("messages") .tag(TAG_SERVICE_NAME, extractServiceName(method)) .tag(TAG_METHOD_NAME, extractMethodName(method)); }
/** * Creates a new counter builder for the given method. By default the base unit will be messages. * * @param method The method the counter will be created for. * @param name The name of the counter to use. * @param description The description of the counter to use. * @return The newly created counter builder. */ public static Counter.Builder prepareCounterFor(final MethodDescriptor<?, ?> method, final String name, final String description) { return Counter.builder(name) .description(description) .baseUnit("messages") .tag(TAG_SERVICE_NAME, extractServiceName(method)) .tag(TAG_METHOD_NAME, extractMethodName(method)); }