eventlog-live-otelcol: Stream eventlog data to the OpenTelemetry Collector.

[ bsd3, debug, library, monitoring, program, system ] [ Propose Tags ] [ Report a vulnerability ]

This executable supports live streaming of eventlog data into the OpenTelemetry Collector.

Usage: eventlog-live-otelcol (--eventlog-stdin | --eventlog-file FILE |
                               --eventlog-socket SOCKET |
                               --eventlog-socket-host HOST
                               --eventlog-socket-port PORT)
                             [--eventlog-socket-timeout SECONDS]
                             [--eventlog-socket-exponent NUMBER]
                             [--eventlog-flush-interval SECONDS]
                             [--eventlog-log-file FILE] [-h Tcmdyrbi]
                             [--service-name STRING]
                             [-v|--verbosity fatal|error|warning|info|debug|trace]
                             [-s|--stats] [--config FILE] --otelcol-host HOST
                             [--otelcol-port PORT] [--otelcol-authority HOST]
                             [--otelcol-ssl] [--otelcol-certificate-store FILE]
                             [--otelcol-ssl-key-log FILE |
                               --otelcol-ssl-key-log-from-env]
                             [--print-defaults] [--print-config-json-schema]

Available options:
  --eventlog-stdin                  Read the eventlog from stdin.
  --eventlog-file FILE              Read the eventlog from a file.
  --eventlog-socket SOCKET          Read the eventlog from a Unix socket.
  --eventlog-socket-host HOST       Read the eventlog from a TCP/IP socket.
  --eventlog-socket-port PORT       Read the eventlog from a TCP/IP socket.
  --eventlog-socket-timeout SECONDS Eventlog socket connection retry timeout in seconds.
  --eventlog-socket-exponent NUMBER Eventlog socket connection retry timeout exponent.
  --eventlog-flush-interval SECONDS Eventlog flush interval in seconds.
                                    Should match the option passed to the application.
  --eventlog-log-file FILE          Use file to log binary eventlog data.
  -h Tcmdyrbi                       Heap profile breakdown.
                                    Should match the option passed to the application.
  --service-name STRING             The name of the profiled service.
  -v,--verbosity fatal|error|warning|info|debug|trace
                                    The severity threshold for logging.
  -s,--stats                        Display runtime statistics.
  --config FILE                     The path to a detailed configuration file.
  --print-defaults                  Print default configuration options.
  --print-config-json-schema        Print JSON Schema for configuration format.
  --help                            Show this help text.
  --version                         Show version information

OpenTelemetry Collector Server Options
  --otelcol-host HOST               Otelcol server hostname.
  --otelcol-port PORT               Otelcol server TCP port.
  --otelcol-authority HOST          Otelcol server authority.
  --otelcol-ssl                     Use SSL.
  --otelcol-certificate-store FILE  Store for certificate validation.
  --otelcol-ssl-key-log FILE        Use file to log SSL keys.
  --otelcol-ssl-key-log-from-env    Use SSLKEYLOGFILE to log SSL keys.

Control Server Options
  --control                         Requires build with -f+control.
                                    Start the control server.
  --control-port                    Requires build with -f+control.
                                    The port number for the control server.
  --control-cors-allow-origin
                                    Requires build with -f+control.
                                    Set the allowed origins for the control server CORS policy.
  --control-cors-max-age            Requires build with -f+control.
                                    Set the maximum age of a cached CORS preflight request for the control server CORS policy.
  --control-cors-require-origin
                                    Requires build with -f+control.
                                    If enabled, the control server will not accept requests without an Origin header.
  --control-cors-ignore-failure
                                    Requires build with -f+control.
                                    If enabled, the control server will accept malformed CORS preflight requests.

Debug Options
  --my-eventlog-socket-unix         Requires build with -f+use-eventlog-socket.
                                    Open an eventlog socket for this program on the given Unix socket.
  --my-ghc-debug-socket             Requires build with -f+use-ghc-debug-stub.
                                    Open the default ghc-debug socket for this program.
  --my-ghc-debug-socket-unix        Requires build with -f+use-ghc-debug-stub.
                                    Open a ghc-debug Unix domain socket with the given file path.
  --my-ghc-debug-socket-tcp         Requires build with -f+use-ghc-debug-stub.
                                    Open a ghc-debug TCP/IP socket with the given address as 'host:port'.

Modules

[Last Documentation]

  • GHC
    • Eventlog
      • Live
        • GHC.Eventlog.Live.Otelcol

Flags

Manual Flags

NameDescriptionDefault
control

Enable control command server.

Disabled
use-eventlog-socket

Use eventlog-socket

Disabled
use-ghc-debug-stub

Use ghc-debug-stub

Disabled
Automatic Flags
NameDescriptionDefault
use-template-haskell-lift

Use template-haskell-lift in place of template-haskell

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.5.0.0, 0.6.0.0, 0.6.1.0 (info)
Change log CHANGELOG.md
Dependencies ansi-terminal (>=1.1 && <1.2), base (>=4.16 && <4.22), bytestring (>=0.11 && <0.13), containers (>=0.6 && <0.8), data-default (>=0.2 && <0.9), dlist (>=1.0 && <1.1), eventlog-live (>=0.5 && <0.6), eventlog-live-otelcol, file-embed (>=0.0.16 && <0.1), ghc-events (>=0.20 && <0.21), ghc-stack-profiler-core (>=0.2 && <0.3), grapesy (>=1.0.0 && <1.2), hashable (>=1.4 && <1.6), hs-opentelemetry-otlp (>=0.2.0 && <0.3), HsYAML (>=0.2 && <0.3), lens-family (>=2.1.3 && <2.2), machines (>=0.7.4 && <0.8), optparse-applicative (>=0.17 && <0.20), proto-lens (>=0.7.1 && <0.8), random (>=1.2 && <1.4), stm (>=2.5 && <2.6), strict-list (>=0.1 && <0.2), table-layout (>=1.0 && <1.1), template-haskell (>=2.2 && <3), template-haskell-lift (>=0.1 && <0.2), text (>=1.2 && <2.2), transformers (>=0.2 && <0.7), unordered-containers (>=0.2.20 && <0.3), vector (>=0.11 && <0.14) [details]
Tested with ghc ==9.2.8 || ==9.4.8 || ==9.6.7 || ==9.8.4 || ==9.10.2
License BSD-3-Clause
Copyright (c) 2025 Well-Typed
Author Wen Kokke
Maintainer wen@well-typed.com
Uploaded by wenkokke at 2026-06-02T13:34:22Z
Revised Revision 1 made by wenkokke at 2026-06-02T13:34:50Z
Category Debug, Monitoring, System
Source repo head: git clone https://github.com/well-typed/eventlog-live.git(eventlog-live-otelcol)
this: git clone https://github.com/well-typed/eventlog-live.git(tag eventlog-live-otelcol-v0.6.1.0)(eventlog-live-otelcol)
Distributions
Executables eventlog-live-otelcol
Downloads 162 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2026-06-02 [all 2 reports]