We currently have vararg versions of AttributesBuilder put methods that accept a string key
https://github.com/open-telemetry/opentelemetry-java/blob/main/api/all/src/main/java/io/opentelemetry/api/common/AttributesBuilder.java#L96
But we don't have similar for AttributeKey. This means that you can't take code that uses a vararg String key and "optimize it" by replacing the key with AttributeKey, you currently need to also add Arrays.asList. I think having symmetry here would be good.
We currently have vararg versions of AttributesBuilder put methods that accept a string key
https://github.com/open-telemetry/opentelemetry-java/blob/main/api/all/src/main/java/io/opentelemetry/api/common/AttributesBuilder.java#L96
But we don't have similar for
AttributeKey. This means that you can't take code that uses a vararg String key and "optimize it" by replacing the key withAttributeKey, you currently need to also addArrays.asList. I think having symmetry here would be good.