eventlog-live-otelcol 0.1.0.0 → 0.1.0.1
raw patch · 4 files changed
+19/−10 lines, 4 files
Files
- CHANGELOG.md +4/−0
- LICENSE +3/−4
- eventlog-live-otelcol.cabal +4/−4
- src/GHC/Eventlog/Live/Otelcol.hs +8/−2
CHANGELOG.md view
@@ -1,3 +1,7 @@+### 0.1.0.1++- Lower `cabal-version` constraint to `3.0`+ ### 0.1.0.0 - Initial release.
LICENSE view
@@ -1,6 +1,5 @@-Copyright (c) 2021 Well-Typed+Copyright (c) 2025 Well-Typed -All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:@@ -13,7 +12,7 @@ disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Oleg Grenrus nor the names of other+ * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. @@ -21,7 +20,7 @@ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
eventlog-live-otelcol.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.12 name: eventlog-live-otelcol-version: 0.1.0.0+version: 0.1.0.1 synopsis: Stream eventlog data to the OpenTelemetry Collector. description: This executable supports live streaming of eventlog data into@@ -49,7 +49,7 @@ > --otelcol-no-metrics Disable metrics exporter. > --otelcol-no-traces Disable traces exporter. -license: AGPL-3.0-only+license: BSD-3-Clause license-file: LICENSE author: Wen Kokke maintainer: wen@well-typed.com@@ -103,8 +103,8 @@ import: language hs-source-dirs: src exposed-modules: GHC.Eventlog.Live.Otelcol- other-modules: PackageInfo_eventlog_live_otelcol- autogen-modules: PackageInfo_eventlog_live_otelcol+ other-modules: Paths_eventlog_live_otelcol+ autogen-modules: Paths_eventlog_live_otelcol build-depends: , base >=4.16 && <4.22 , bytestring >=0.11 && <0.13
src/GHC/Eventlog/Live/Otelcol.hs view
@@ -47,7 +47,7 @@ import Network.GRPC.Common.Protobuf qualified as G import Options.Applicative qualified as O import Options.Applicative.Extra qualified as O-import PackageInfo_eventlog_live_otelcol qualified as EventlogLive+import Paths_eventlog_live_otelcol qualified as EventlogLive import Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService qualified as OMS import Proto.Opentelemetry.Proto.Collector.Metrics.V1.MetricsService_Fields qualified as OMS import Proto.Opentelemetry.Proto.Collector.Trace.V1.TraceService qualified as OTS@@ -352,10 +352,16 @@ -- Machines -------------------------------------------------------------------------------- +-- 2025-09-22:+-- Once `cabal2nix` supports Cabal 3.12, this can once again use the value from:+-- `PackageInfo_eventlog_live_otelcol.name`.+eventlogLiveName :: String+eventlogLiveName = "eventlog-live-otelcol"+ eventlogLiveScope :: OC.InstrumentationScope eventlogLiveScope = messageWith- [ OC.name .~ T.pack EventlogLive.name+ [ OC.name .~ T.pack eventlogLiveName , OC.version .~ T.pack (showVersion EventlogLive.version) ]