Skip to content

Commit 01efbc7

Browse files
authored
remove type restriction in metrics exporter (#117)
1 parent 591960f commit 01efbc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/exporter/otlp/proto/http/src/OpenTelemetryExporterOtlpProtoHttp.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ OtlpHttpMetricsExporter(;
6767
timeout,
6868
)
6969

70-
function SDK.export!(x::OtlpHttpExporter{Req,Resp}, batch::Vector) where {Req,Resp}
70+
function SDK.export!(x::OtlpHttpExporter{Req,Resp}, batch::Union{AbstractVector, Base.IdSet}) where {Req,Resp}
7171
isempty(batch) && return SDK.EXPORT_SUCCESS
7272

7373
try

src/exporter/prometheus/Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OpenTelemetryExporterPrometheus"
22
uuid = "34e26579-e93c-4b5e-ba07-7afb633408c2"
33
authors = ["Jun Tian <tianjun.cpp@gmail.com>"]
4-
version = "0.3.0"
4+
version = "0.3.1"
55

66
[deps]
77
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

0 commit comments

Comments
 (0)