pfitjobid

package
v0.0.0-...-b48ff75 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

README

PFIT-JobID Processor Plugin

The pfit-jobid processor plugin simple adds the job ID's of a batch job to every metric passing through it.

It determines the batch job ID's from a file with the name and format

pfit_

ideally generated by the batch system via a prologue script.

The path to this file and the delimiter within its name for the userid and the job ID's are configurable.

Configuration:
# Add the batch job ID's as tags.
[[processors.pfit-jobid]]
  ## directory which contains the job info file
  ## (default is "/run/pfit/")
  jobinfofileDir = "/run/pfit/"
  ## delimiter for the batch job information in the job info file
  ## (default is "_")
  delimiter = "_"
Tags:

The job ID's are added as jobid1 and jobid2 tags (and as jobid3 and jobid4 tags and so on if there are several job info files available in case of shared nodes) by this processor plugin.

Author:

Guido Laubender, laubender@zib.de, +49 30 84185-214

Version:

2018-07-25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PfitJobid

type PfitJobid struct {
	Delimiter      string
	JobinfofileDir string
}

func (*PfitJobid) Apply

func (p *PfitJobid) Apply(in ...telegraf.Metric) []telegraf.Metric

func (*PfitJobid) Description

func (p *PfitJobid) Description() string

func (*PfitJobid) SampleConfig

func (p *PfitJobid) SampleConfig() string

Jump to

Keyboard shortcuts

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