+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "EchoSrv"
keywords = ["grafana","documentation","sdk","@grafana/runtime"]
type = "docs"
draft = true
+++

## EchoSrv interface

<b>Signature</b>

```typescript
export interface EchoSrv 
```
<b>Import</b>

```typescript
import { EchoSrv } from '@grafana/runtime';
```
<b>Methods</b>

|  Method | Description |
|  --- | --- |
|  [addBackend(backend)](#addbackend-method) |  |
|  [addEvent(event, meta)](#addevent-method) |  |
|  [flush()](#flush-method) |  |

### addBackend method

<b>Signature</b>

```typescript
addBackend(backend: EchoBackend): void;
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  backend | <code>EchoBackend</code> |  |

<b>Returns:</b>

`void`

### addEvent method

<b>Signature</b>

```typescript
addEvent<T extends EchoEvent>(event: Omit<T, 'meta'>, meta?: {}): void;
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  event | <code>Omit&lt;T, 'meta'&gt;</code> |  |
|  meta | <code>{}</code> |  |

<b>Returns:</b>

`void`

### flush method

<b>Signature</b>

```typescript
flush(): void;
```
<b>Returns:</b>

`void`

