redis_ts

package
v0.0.0-...-a246321 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client redis.Client

func NewClient

func NewClient(address string, auth string) *Client

NewClient creates a new Client.

func NewFailoverClient

func NewFailoverClient(failoverOpt *redis.FailoverOptions) *Client

func (Client) Name

func (c Client) Name() string

Name identifies the client as an RedisTS client.

func (*Client) Read

func (c *Client) Read(req *prompb.ReadRequest) (returnVal *prompb.ReadResponse, returnErr error)

func (*Client) Write

func (c *Client) Write(timeseries []*prompb.TimeSeries) (returnErr error)

Write sends a batch of samples to RedisTS via its HTTP API.

type StatusCmd

type StatusCmd redis.StatusCmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL