Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

EchoMeta interface

Describes the meta information that are sent together with each event.

Signature

typescript
export interface EchoMeta 

Import

typescript
import { EchoMeta } from '@grafana/runtime';

Properties

PropertyTypeDescription
screenSizeSizeMeta
sessionIdstringA unique browser session
timeSinceNavigationStartnumberA highres timestamp since navigation start
tsnumberA millisecond epoch
urlstring
userAgentstring
userIdnumberThe current users unique identifier.
userLoginstringThe current users username used to login into Grafana e.g. email.
userSignedInbooleanTrue when user is logged in into Grafana.
windowSizeSizeMeta

screenSize property

Signature

typescript
screenSize: SizeMeta;

sessionId property

A unique browser session

Signature

typescript
sessionId: string;

timeSinceNavigationStart property

A highres timestamp since navigation start

Signature

typescript
timeSinceNavigationStart: number;

ts property

A millisecond epoch

Signature

typescript
ts: number;

url property

Signature

typescript
url?: string;

userAgent property

Signature

typescript
userAgent: string;

userId property

The current users unique identifier.

Signature

typescript
userId: number;

userLogin property

The current users username used to login into Grafana e.g. email.

Signature

typescript
userLogin: string;

userSignedIn property

True when user is logged in into Grafana.

Signature

typescript
userSignedIn: boolean;

windowSize property

Signature

typescript
windowSize: SizeMeta;