# nodeIdentityQuality

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

@shumoku/core · 0.4.0 · function

# nodeIdentityQuality

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

APIの説明は英語のcanonical sourceを表示しています。

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
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `identity` | `Identity | undefined` | 追加説明はありません。 | `—` |

## 戻り値

```
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)
