1. oracle-watchdog > 
  2. Go API
oracle-watchdog

oracle-watchdog Go API

Auto-generated reference documentation from the Go source code.
agent

Agent mode: monitors Consul for missing Oracle node sessions and orchestrates OCI restart cycles.

monitor

Monitor mode: maintains Consul session heartbeat on each Oracle node with state machine lifecycle.

config

YAML configuration loading and validation for agent mode node mappings and timeouts.

oci

OCI SDK wrapper for instance stop/start lifecycle with state polling and timeout handling.

metrics

Prometheus metric definitions for monitor and agent modes: connection status, session health, restart tracking.

tracing

OpenTelemetry tracer setup, client span helpers, and attribute constructors for Tempo integration.

oracle-watchdog oracle-watchdog

  • Home


    • Documentation
      • Architecture
      • README
      • Grafana Dashboard
      • Changelog
    • Go API
      • agent
      • config
      • metrics
      • monitor
      • oci
      • tracing
      • wandns
      • wgresolver

        Built by Alex Freidah

        MIT License