Skip to content

Commit 2e106da

Browse files
michaelklishinmergify[bot]
authored andcommitted
Tracing: expose directory path setting as tracing.dir
in rabbitmq.conf. Note that this does not include any tests because the test would have to use a writeable directory, and it is not obvious what kind of cross-platform path that is not computed programmatically they could use. It's a trivial schema file that uses an existing core validator => let's leave it as is. (cherry picked from commit 118f1a4)
1 parent 73e6176 commit 2e106da

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

deps/rabbitmq_tracing/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
load("@rules_erlang//:eunit2.bzl", "eunit")
22
load("@rules_erlang//:xref2.bzl", "xref")
33
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
4+
load("//:rabbitmq_home.bzl", "rabbitmq_home")
5+
load("//:rabbitmq_run.bzl", "rabbitmq_run")
46
load(
57
"//:rabbitmq.bzl",
68
"BROKER_VERSION_REQUIREMENTS_ANY",

deps/rabbitmq_tracing/app.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def all_srcs(name = "all_srcs"):
8282
filegroup(
8383
name = "priv",
8484
srcs = [
85+
"priv/schema/rabbitmq_tracing.schema",
8586
"priv/www/js/tmpl/traces.ejs",
8687
"priv/www/js/tracing.js",
8788
],
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
%% This Source Code Form is subject to the terms of the Mozilla Public
2+
%% License, v. 2.0. If a copy of the MPL was not distributed with this
3+
%% file, You can obtain one at https://mozilla.org/MPL/2.0/.
4+
%%
5+
%% Copyright (c) 2007-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.
6+
%%
7+
8+
{mapping, "tracing.dir", "rabbitmq_tracing.directory", [
9+
{datatype, string},
10+
{validators, ["dir_writable"]}]}.

0 commit comments

Comments
 (0)