This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/datafindCommonLabels

findCommonLabels() function

findCommonLabels() function

Returns a map labels that are common to the given label sets.

Signature

export declare function findCommonLabels(labelsSets: Labels[]): Labels;

Import

import { findCommonLabels } from '@grafana/data';

Parameters

Parameter Type Description
labelsSets Labels[]

Returns:

Labels