import { css } from '@emotion/css';
import { GrafanaTheme2 } from '@grafana/data';
import { useStyles2 } from '@grafana/ui';
export default function CheatSheet() {
const styles = useStyles2(getStyles);
return (
<>
Jaeger Cheat Sheet
This cheat sheet provides a quick overview of the query types that are available. For more details about the
Jaeger data source, check out{' '}
the documentation
.
-
Search - filter traces by service name. Addtionally, you can filter by tags or min/max duration, as well as
limit the number of traces that are returned.
- TraceID - if you have a trace ID, simply enter the trace ID to see the trace.
-
JSON File - you can upload a JSON file that contains a single trace to visualize it. If the file has multiple
traces then the first trace is used for visualization. An example of a valid JSON file can be found in{' '}
this section
{' '}
of the documentation.
>
);
}
const getStyles = (theme: GrafanaTheme2) => ({
anchorTag: css({
color: theme.colors.text.link,
}),
unorderedList: css({
listStyleType: 'none',
}),
});