import { IS_PLATFORM } from 'common' import Link from 'next/link' import { Button, Card, cn } from 'ui' import { AnimatedLogos } from './AnimatedLogos' import { VoteLink } from './VoteLink' import { UpgradePlanButton } from '@/components/ui/UpgradePlanButton' import { DOCS_URL } from '@/lib/constants' export const LogDrainsEmpty = () => { const items = [ { step: 1, title: 'Pricing', description: 'Log Drains are available as a project Add-On for all Pro, Team, and Enterprise users. Each Log Drain costs $60 per month.', label: 'See our pricing', link: `${DOCS_URL}/guides/platform/manage-your-usage/log-drains`, }, { step: 2, title: 'Connect to your drain', description: 'We offer support for multiple destinations including Datadog, Loki, Sentry or a custom endpoint.', label: 'Read our documentation', link: `${DOCS_URL}/guides/telemetry/log-drains`, }, ].filter((item) => IS_PLATFORM || item.title !== 'Pricing') return (

Capture your logs, your way

Upgrade to a Pro, Team or Enterprise Plan to send your logs to your preferred platform

{/* This should only be shown to free tier users so upgrade to Pro makes sense */}
{items.map((item, i) => (
{item.step}

{item.title}

{item.description}

))}
) }