OtelResource¶
This docs was updated at: 2026-02-23
com.paragon.telemetry.otel.OtelResource ยท Record
OpenTelemetry resource describing the entity producing telemetry. Contains attributes like service.name, service.version.
Methods¶
forService¶
public static @NonNull OtelResource forService(
@NonNull String serviceName, @NonNull String serviceVersion)
Creates a resource with service identification.
forAgentle¶
Creates a resource for Agentle library.
agentle¶
Alias for forAgentle().