forked from badeyeye1/LokiLogger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
53 lines (48 loc) · 1.4 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
defmodule LokiLogger.MixProject do
use Mix.Project
def project do
[
app: :keen_loki_logger,
version: "0.5.1",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
name: "Keen Loki Logger",
source_url: "https://github.com/KeenMate/elixir-loki-logger.git"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:jason, "~> 1.4.0"},
{:ex_doc, "~> 0.31.2", only: :dev},
{:benchee, "~> 1.1.0", only: :test},
{:tesla, "~> 1.8.0"},
{:finch, "~> 0.17"},
{:protobuf, "~> 0.10.0"},
{:google_protos, "~> 0.3.0"},
{:snappyer, "~> 1.2.8"}
]
end
defp description() do
"Elixir Logger Backend for Grafana Loki - based on original loki_logger, which is dead since 2019, but enhanced from multiple forks and with plan to develop it further"
end
defp package() do
[
name: "keen_loki_logger",
# organization: "keenmate",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/KeenMate/elixir-loki-logger.git"}
]
end
end