io.opentelemetry.exporter.internal.otlp.metrics.NoopMarshaler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opentelemetry-exporter-otlp-common Show documentation
Show all versions of opentelemetry-exporter-otlp-common Show documentation
OpenTelemetry Protocol Exporter
The newest version!
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.exporter.internal.otlp.metrics;
import io.opentelemetry.exporter.internal.marshal.MarshalerWithSize;
import io.opentelemetry.exporter.internal.marshal.Serializer;
final class NoopMarshaler extends MarshalerWithSize {
static final NoopMarshaler INSTANCE = new NoopMarshaler();
private NoopMarshaler() {
super(0);
}
@Override
public void writeTo(Serializer output) {}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy