metrics

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package metrics provides functions to record metrics data. It is a very thin layer over OpenTelemetry, but it can also write logs to local files for simple setups.

Index

Constants

View Source
const (
	DefaultMetricsFileSignals = "revchat_metrics_signals.csv"
)

Variables

This section is empty.

Functions

func AppendToCSVFile

func AppendToCSVFile(path string, record []string) error

func IncrementSignalCounter

func IncrementSignalCounter(ctx workflow.Context, name string)

IncrementSignalCounter monitors incoming Temporal signals (triggered by webhook events which were received by Timpani).

Types

This section is empty.

Jump to

Keyboard shortcuts

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