-module(datadog_client@common).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-define(FILEPATH, "src/datadog_client/common.gleam").
-export([now_seconds/0]).
-export_type([system_time_unit/0]).
-if(?OTP_RELEASE >= 27).
-define(MODULEDOC(Str), -moduledoc(Str)).
-define(DOC(Str), -doc(Str)).
-else.
-define(MODULEDOC(Str), -compile([])).
-define(DOC(Str), -compile([])).
-endif.
-type system_time_unit() :: second.
-file("src/datadog_client/common.gleam", 11).
?DOC(" Current Unix time in seconds.\n").
-spec now_seconds() -> integer().
now_seconds() ->
erlang:system_time(second).