All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opentelemetry.sdk.extension.incubator.fileconfig.SpanLimitsAndAttributeLimits Maven / Gradle / Ivy

There is a newer version: 1.44.1-alpha
Show newest version
/*
 * Copyright The OpenTelemetry Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package io.opentelemetry.sdk.extension.incubator.fileconfig;

import com.google.auto.value.AutoValue;
import io.opentelemetry.sdk.extension.incubator.fileconfig.internal.model.AttributeLimits;
import io.opentelemetry.sdk.extension.incubator.fileconfig.internal.model.SpanLimits;
import javax.annotation.Nullable;

@AutoValue
abstract class SpanLimitsAndAttributeLimits {

  static SpanLimitsAndAttributeLimits create(
      @Nullable AttributeLimits attributeLimits, @Nullable SpanLimits spanLimits) {
    return new AutoValue_SpanLimitsAndAttributeLimits(attributeLimits, spanLimits);
  }

  @Nullable
  abstract AttributeLimits getAttributeLimits();

  @Nullable
  abstract SpanLimits getSpanLimits();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy