FieldDTO interface
Like a field, but properties are optional and values may be a simple array
Signature
export interface FieldDTO<T = any>
Import
import { FieldDTO } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
config | FieldConfig |
|
labels | Labels |
|
name | string |
|
type | FieldType |
|
values | Vector<T> | T[] |
config property
Signature
config?: FieldConfig;
labels property
Signature
labels?: Labels;
name property
Signature
name: string;
type property
Signature
type?: FieldType;
values property
Signature
values?: Vector<T> | T[];
Related Grafana resources
Opening keynote: What's new in Grafana 9?
Raj Dutt, Myrle Krantz, and Torkel Ödegaard unveil what's new in Grafana 9. Watch the opening keynote presentation from GrafanaCONline 2022. On-demand.
Unify your data with Grafana plugins: Splunk, MongoDB, Datadog, and more
Show how Grafana can be used to take data from multiple different sources and unify it, without disrupting the investments that are working today.
Getting started with Grafana Enterprise and observability
Join the Grafana Labs team for a 30-minute demo of how to get started with the Grafana Stack, so you can go from zero to observability in just a few minutes.