# nodeIdentityQuality

Canonical: https://docs.shumoku.dev/en/library/api/nodeIdentityQuality
Language: en

@shumoku/core · 0.4.0 · function

# nodeIdentityQuality

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/observation/identity.ts#L86)

Coarse identity quality — surfaced in UI to warn users which elements may detach from their metrics/observations across reboots. Node: \`stable\` if chassisId + (mgmtIp or sysName), \`weak\` if any single primary key, \`unbound\` otherwise. Port: \`stable\` if ifName + (mac or ifIndex), \`weak\` if any single key, \`unbound\` otherwise.

```
nodeIdentityQuality(identity: Identity | undefined): IdentityQuality
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `identity` | `Identity | undefined` | No additional description. | `—` |

## Returns

```
IdentityQuality
```

[`libs/@shumoku/core/src/observation/identity.ts:86`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/observation/identity.ts#L86)
