Skip to content

Commit

Permalink
remove type restriction in metrics exporter (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
findmyway authored Sep 24, 2024
1 parent 591960f commit 01efbc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ OtlpHttpMetricsExporter(;
timeout,
)

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

try
Expand Down
2 changes: 1 addition & 1 deletion src/exporter/prometheus/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "OpenTelemetryExporterPrometheus"
uuid = "34e26579-e93c-4b5e-ba07-7afb633408c2"
authors = ["Jun Tian <[email protected]>"]
version = "0.3.0"
version = "0.3.1"

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

0 comments on commit 01efbc7

Please sign in to comment.