Nexus API Reference

AttributeKeys
in package

FinalYes

Narrows framework attribute maps (any string keys) to the non-empty-string keys the OpenTelemetry SDK instruments declare. Empty keys are dropped — the OTel specification discards attributes with empty keys anyway.

Table of Contents

Methods

nonEmpty()  : array<non-empty-string, scalar>

Methods

nonEmpty()

public static nonEmpty(array<string, scalar> $attributes) : array<non-empty-string, scalar>
Parameters
$attributes : array<string, scalar>
Return values
array<non-empty-string, scalar>
On this page

Search results