beam-telemetry / telemetry_metrics_prometheus_core

Core Prometheus Telemetry.Metrics Reporter package for telemetry_metrics_prometheus
Apache License 2.0
35 stars 30 forks source link

Logger.warn/1 is deprecated #56

Closed David-Klemenc closed 10 months ago

David-Klemenc commented 1 year ago

While building I get a few warning for deprecated use of Logger.warn:

warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead
  lib/core/aggregator.ex:58: TelemetryMetricsPrometheus.Core.Aggregator.filter_and_drop_time_series_with_bad_tag_values/2
warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead
  lib/core/registry.ex:196: TelemetryMetricsPrometheus.Core.Registry.register_metrics/2
warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead
  lib/core/registry.ex:203: TelemetryMetricsPrometheus.Core.Registry.register_metrics/2

Can I make a PR?

bryannaegele commented 1 year ago

That would be great. Thank you