Packages
Ship your Telemetry metrics to Logflare for long term storage, easy search and flexible dashboarding.
Current section
Files
Jump to
Current section
Files
lib/logflare_telemetry/enrichers/node.ex
defmodule TelemetryMetricsLogflare.Enricher do
@moduledoc """
Adds enriched information about the BEAM and OTP to the telemetry event payloads
"""
def beam_context() do
%{
"node" => current_node()
}
end
def current_node() do
"#{Node.self()}"
end
end