mirror of
https://github.com/supabase/supabase.git
synced 2026-09-08 10:59:38 +08:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? Feature ## What is the current behavior? Elastic is not added as a tile in metrics API page. ## What is the new behavior? Now Elastic is supporting Supabase metrcis ingestion, hence it should be listed in the Metrics page. ![Uploading Screenshot 2026-08-03 at 4.31.46 PM.png…]() <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added Elastic as a supported metrics integration in the documentation. - Added an Elastic integration card with community labeling and a link to Elastic’s documentation. - Added Elastic to the monitoring metrics navigation and Metrics API guide resources. - Added Elastic branding and iconography to the metrics integration listings for easier recognition. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Miranda Limonczenko <miranda.limonczenko@supabase.io>
63 lines
2.4 KiB
TypeScript
63 lines
2.4 KiB
TypeScript
export type MetricsStackOption = {
|
||
title: string
|
||
description: string
|
||
href: string
|
||
iconKind: 'grafana' | 'datadog' | 'elastic' | 'flame'
|
||
iconColor: string
|
||
iconBg: string
|
||
badges: { label: string; variant: 'default' | 'community' }[]
|
||
}
|
||
|
||
export const metricsStackOptions: MetricsStackOption[] = [
|
||
{
|
||
title: 'Grafana Cloud (SaaS)',
|
||
description:
|
||
'Use Grafana Cloud’s managed Prometheus (works on Free + Pro tiers) and import the Supabase dashboard without running any infrastructure.',
|
||
href: '/guides/monitoring-and-debugging/metrics/grafana-cloud',
|
||
iconKind: 'grafana',
|
||
iconColor: '#F05A28',
|
||
iconBg: 'rgba(240,90,40,0.1)',
|
||
badges: [{ label: 'Supabase guide', variant: 'default' }],
|
||
},
|
||
{
|
||
title: 'Grafana + self-hosted Prometheus',
|
||
description:
|
||
'Run Prometheus yourself following the official installation guidance and pair it with Grafana plus our dashboard JSON and alert pack.',
|
||
href: '/guides/monitoring-and-debugging/metrics/grafana-self-hosted',
|
||
iconKind: 'grafana',
|
||
iconColor: '#F05A28',
|
||
iconBg: 'rgba(240,90,40,0.1)',
|
||
badges: [{ label: 'Supabase guide', variant: 'default' }],
|
||
},
|
||
{
|
||
title: 'Datadog',
|
||
description:
|
||
'Scrape the Metrics API with the Datadog Agent or Prometheus remote write and monitor Supabase alongside your app telemetry.',
|
||
href: 'https://docs.datadoghq.com/integrations/supabase/',
|
||
iconKind: 'datadog',
|
||
iconColor: '#632CA6',
|
||
iconBg: 'rgba(99,44,166,0.1)',
|
||
badges: [{ label: 'Community', variant: 'community' }],
|
||
},
|
||
{
|
||
title: 'Elastic',
|
||
description:
|
||
"Use Elastic's managed Supabase integration to scrape metrics. The integration automatically installs dashboards, alert templates, and SLO templates as data arrives.",
|
||
href: 'https://www.elastic.co/docs/reference/integrations/supabase',
|
||
iconKind: 'elastic',
|
||
iconColor: '#00BFB3',
|
||
iconBg: 'rgba(0,191,179,0.1)',
|
||
badges: [{ label: 'Community', variant: 'community' }],
|
||
},
|
||
{
|
||
title: 'Vendor-agnostic / BYO Prometheus',
|
||
description:
|
||
'Connect AWS AMP, Grafana Mimir, VictoriaMetrics, or any Prometheus-compatible SaaS with the same scrape job pattern.',
|
||
href: '/guides/monitoring-and-debugging/metrics/vendor-agnostic',
|
||
iconKind: 'flame',
|
||
iconColor: '#0BA678',
|
||
iconBg: 'rgba(11,166,120,0.1)',
|
||
badges: [{ label: 'Supabase guide', variant: 'default' }],
|
||
},
|
||
]
|