Add opentelemetry oban

This commit is contained in:
Uku Taht 2021-11-09 09:42:47 +02:00
parent 42d70bf4ea
commit 5c02811d26
6 changed files with 4 additions and 11 deletions

View File

@ -1,10 +0,0 @@
general:
remote_storage: s3
clickhouse:
username: default
password: ""
s3:
access_key: "3KBJJYJN29XWX0R8D59M"
secret_key: "WVIqTPPu76ZDMW7XlLeAVgU0FkNZeCwzapBN9slq"
bucket: "plausible-backups-test"
endpoint: "s3.eu-central-1.wasabisys.com"

View File

@ -56,6 +56,7 @@ defmodule Plausible.Application do
OpentelemetryPhoenix.setup()
OpentelemetryEcto.setup([:plausible, :repo])
OpentelemetryEcto.setup([:plausible, :clickhouse_repo])
OpentelemetryOban.setup()
end
def report_cache_stats() do

View File

@ -99,7 +99,8 @@ defmodule Plausible.MixProject do
{:open_telemetry_decorator, "~> 1.0.0-rc.3"},
{:opentelemetry_exporter, "1.0.0-rc.3"},
{:opentelemetry_phoenix, "1.0.0-rc.5"},
{:opentelemetry_ecto, "1.0.0-rc.3"}
{:opentelemetry_ecto, "1.0.0-rc.3"},
{:opentelemetry_oban, "~> 0.2.0-rc.2"}
]
end

View File

@ -64,6 +64,7 @@
"opentelemetry_api": {:hex, :opentelemetry_api, "1.0.0-rc.3.2", "588ebf85fa7d18eba8db297b7d0a2a654f680f35c4466cd0045cd12a6fda27d7", [:mix, :rebar3], [], "hexpm", "1e0ba55db6718d5797e72c00e3821e60e02f7829e3fb64dc1a7c96f7c2776a58"},
"opentelemetry_ecto": {:hex, :opentelemetry_ecto, "1.0.0-rc.3", "bbcd7f001ed673fb7ec143184d9cb0cbba4e749c4ef3c10d29826602dc4f357d", [:mix], [{:opentelemetry_api, "~> 1.0.0-rc.3", [hex: :opentelemetry_api, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4 or ~> 1.0.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "525cc746d346715ebfe4e5da63a311850a3e19ab8c8456dd8fb2f11f0995ddc6"},
"opentelemetry_exporter": {:hex, :opentelemetry_exporter, "1.0.0-rc.3", "76f5657d4c94a12003d9ed2c8da1023c815e98f5553184dbb0cdaeec76db676d", [:rebar3], [{:grpcbox, ">= 0.0.0", [hex: :grpcbox, repo: "hexpm", optional: false]}, {:opentelemetry, "~> 1.0.0-rc.3", [hex: :opentelemetry, repo: "hexpm", optional: false]}, {:opentelemetry_api, "~> 1.0.0-rc.3", [hex: :opentelemetry_api, repo: "hexpm", optional: false]}], "hexpm", "267f0e4c3f1f5557cc7ad6ac71d66b8eaf7b3b56fde942c21f8a0bc96174fe1e"},
"opentelemetry_oban": {:hex, :opentelemetry_oban, "0.2.0-rc.2", "ca56cae063d25bd18956835536e04efd2cbfca373e231af4ff76c75b36a50349", [:mix], [{:oban, "~> 2.0", [hex: :oban, repo: "hexpm", optional: false]}, {:opentelemetry_api, "~> 1.0.0-rc.3", [hex: :opentelemetry_api, repo: "hexpm", optional: false]}, {:opentelemetry_telemetry, "~> 1.0.0-beta", [hex: :opentelemetry_telemetry, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "53540a9c20a4525da52ba1a841f5e8f39159cafd9edd3c6597ba3b25e25d8cfc"},
"opentelemetry_phoenix": {:hex, :opentelemetry_phoenix, "1.0.0-rc.5", "67f7f6589911dad38b47c83814009c76eebb74ac9e867326ca5cfb98c0f2e035", [:mix], [{:opentelemetry_api, "~> 1.0.0-rc.3", [hex: :opentelemetry_api, repo: "hexpm", optional: false]}, {:opentelemetry_telemetry, "~> 1.0.0-beta.4", [hex: :opentelemetry_telemetry, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4 or ~> 1.0.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "44759547471fbf2ec6c7b01ff1f11892fbfc9f55cbd3879659dd48139e864c7f"},
"opentelemetry_telemetry": {:hex, :opentelemetry_telemetry, "1.0.0-beta.4", "74b2a9de1b2f1c22955a2fa3263d65a979fd64bf69d3d1571b5c34fdfed95cfa", [:mix, :rebar3], [{:opentelemetry_api, "~> 1.0.0-rc.3", [hex: :opentelemetry_api, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}, {:telemetry_registry, "~> 0.3.0", [hex: :telemetry_registry, repo: "hexpm", optional: false]}], "hexpm", "6ebba3c47a26460a7302bfcdccf87582eeb1a71c2e6abc47845787dcd04fb256"},
"parallel_stream": {:hex, :parallel_stream, "1.0.6", "b967be2b23f0f6787fab7ed681b4c45a215a81481fb62b01a5b750fa8f30f76c", [:mix], [], "hexpm", "639b2e8749e11b87b9eb42f2ad325d161c170b39b288ac8d04c4f31f8f0823eb"},

Binary file not shown.

Binary file not shown.