import React from 'react'; import { TagList } from '@grafana/ui'; type Props = { labels: Record; className?: string }; export const AlertLabels = ({ labels, className }: Props) => { const pairs = Object.entries(labels).filter(([key]) => !(key.startsWith('__') && key.endsWith('__'))); return (
`${label}=${value}`)} />
); };