java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.ViewStreamModel

@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator") public class ViewStreamModel extends Object
  • Constructor Details

    • ViewStreamModel

      public ViewStreamModel()
  • Method Details

    • getName

      @Nullable public String getName()
      Configure metric name of the resulting stream(s).

      If omitted or null, the instrument's original name is used.

    • setName

      public ViewStreamModel setName(String name)
    • getDescription

      @Nullable public String getDescription()
      Configure metric description of the resulting stream(s).

      If omitted or null, the instrument's origin description is used.

    • setDescription

      public ViewStreamModel setDescription(String description)
    • getAggregation

      @Nullable public AggregationModel getAggregation()
      Configure aggregation of the resulting stream(s).

      If omitted, default is used.

    • setAggregation

      public ViewStreamModel setAggregation(AggregationModel aggregation)
    • getAggregationCardinalityLimit

      @Nullable public Integer getAggregationCardinalityLimit()
      Configure the aggregation cardinality limit.

      If omitted or null, the metric reader's default cardinality limit is used.

    • setAggregationCardinalityLimit

      public ViewStreamModel setAggregationCardinalityLimit(Integer aggregationCardinalityLimit)
    • getAttributeKeys

      @Nullable public IncludeExcludeModel getAttributeKeys()
      Configure attribute keys retained in the resulting stream(s).

      If omitted, all attribute keys are retained.

    • setAttributeKeys

      public ViewStreamModel setAttributeKeys(IncludeExcludeModel attributeKeys)
    • getExtensionProperties

      public Map<String,Object> getExtensionProperties()
    • setExtensionProperty

      public ViewStreamModel setExtensionProperty(String name, @Nullable Object value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object