package
1.33.2
Repository: https://github.com/influxdata/telegraf.git
Documentation: pkg.go.dev

# README

Influx Line Protocol Parser Plugin

Parses metrics using the Influx Line Protocol.

Configuration

[[inputs.file]]
  files = ["example"]

  ## Data format to consume.
  ## Each data format has its own unique set of configuration options, read
  ## more about them here:
  ##   https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
  data_format = "influx"

  ## Influx line protocol parser
  ## 'internal' is the default. 'upstream' is a newer parser that is faster
  ## and more memory efficient.
  # influx_parser_type = "internal"

  ## Influx line protocol timestamp precision
  ## Time duration to specify the precision of the data's timestamp to parse.
  ## The default assumes nanosecond (1ns) precision, but users can set to
  ## second (1s), millisecond (1ms), or microsecond (1us) precision as well.
  # influx_timestamp_precision = "1ns"

# Packages

# Functions

# Constants

# Variables

# Structs

MetricHandler implements the Handler interface and produces telegraf.Metric.
ParseError indicates a error in the parsing of the text.
Parser is an InfluxDB Line Protocol parser that implements the parsers.Parser interface.
StreamParser is an InfluxDB Line Protocol parser.

# Interfaces

# Type aliases