+
+ The {name} is deprecated and will be sunset on {formatDeprecationDate(sunsetAt)}. Plan to migrate off it
+ before then.
+
+
+ -
+ Deprecated: {formatDeprecationDate(deprecatedAt)}
+
+ -
+ Sunset: {formatDeprecationDate(sunsetAt)}
+
+ -
+ Decommissioned: {formatDeprecationDate(decommissionedAt)}
+
+
+
+ );
+}
diff --git a/components/navigation/docs-nav-config.tsx b/components/navigation/docs-nav-config.tsx
index 8620f1bc018..c37718d80f2 100644
--- a/components/navigation/docs-nav-config.tsx
+++ b/components/navigation/docs-nav-config.tsx
@@ -96,7 +96,8 @@ export const apiReferenceOptions: NavOption[] = [
},
{
title: 'Metrics API',
- description: 'Network metrics and statistics',
+ badge: 'Deprecated',
+ description: 'Deprecated: network metrics and statistics',
icon: