cassandraexporter

package module
v0.83.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 2

README

Cassandra Exporter

Status
Stability alpha: traces, logs
Distributions contrib
Issues Open issues Closed issues
Code Owners @atoulme, @emreyalvac

Configuration options

The following settings can be optionally configured:

Example

exporters:
  cassandra:
    dsn: 127.0.0.1
    keyspace: "otel"
    trace_table: "otel_spans"
    replication:
      class: "SimpleStrategy"
      replication_factor: 1
    compression:
      algorithm: "ZstdCompressor"

Documentation

Overview

Package cassandraexporter exports trace and log data to an Apache Cassandra instance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() exporter.Factory

Types

type Compression

type Compression struct {
	Algorithm string `mapstructure:"algorithm"`
}

type Config

type Config struct {
	DSN         string      `mapstructure:"dsn"`
	Keyspace    string      `mapstructure:"keyspace"`
	TraceTable  string      `mapstructure:"trace_table"`
	LogsTable   string      `mapstructure:"logs_table"`
	Replication Replication `mapstructure:"replication"`
	Compression Compression `mapstructure:"compression"`
}

type Replication

type Replication struct {
	Class             string `mapstructure:"class"`
	ReplicationFactor int    `mapstructure:"replication_factor"`
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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