Skip to content
This repository was archived by the owner on Nov 14, 2020. It is now read-only.

Commit 9a4b26e

Browse files
Switch to MPL2
1 parent c4b04ea commit 9a4b26e

10 files changed

+409
-531
lines changed

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
This package, the RabbitMQ server is licensed under the MPL 1.1. For the
2-
MPL 1.1, please see LICENSE-MPL-RabbitMQ.
1+
This package, the RabbitMQ server is licensed under the MPL 2.0. For the
2+
MPL 2.0, please see LICENSE-MPL-RabbitMQ.
33

44
If you have any questions regarding licensing, please contact us at
55

LICENSE-MPL-RabbitMQ

Lines changed: 373 additions & 455 deletions
Large diffs are not rendered by default.

priv/schema/rabbitmq_prometheus.schema

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +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-2020 VMware, Inc. or its affiliates. All rights reserved.
6+
%%
7+
18
%% ----------------------------------------------------------------------------
29
%% RabbitMQ Prometheus Plugin
310
%%

src/collectors/prometheus_rabbitmq_core_metrics_collector.erl

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
%% The contents of this file are subject to the Mozilla Public License
2-
%% Version 1.1 (the "License"); you may not use this file except in
3-
%% compliance with the License. You may obtain a copy of the License at
4-
%% http://www.mozilla.org/MPL/
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/.
54
%%
6-
%% Software distributed under the License is distributed on an "AS IS"
7-
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
8-
%% License for the specific language governing rights and limitations
9-
%% under the License.
10-
%%
11-
%% The Original Code is RabbitMQ.
12-
%%
13-
%% The Initial Developer of the Original Code is GoPivotal, Inc.
145
%% Copyright (c) 2007-2020 VMware, Inc. or its affiliates. All rights reserved.
156
%%
167
-module(prometheus_rabbitmq_core_metrics_collector).

src/rabbit_prometheus_app.erl

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
%% The contents of this file are subject to the Mozilla Public License
2-
%% Version 1.1 (the "License"); you may not use this file except in
3-
%% compliance with the License. You may obtain a copy of the License at
4-
%% http://www.mozilla.org/MPL/
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/.
54
%%
6-
%% Software distributed under the License is distributed on an "AS IS"
7-
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
8-
%% License for the specific language governing rights and limitations
9-
%% under the License.
10-
%%
11-
%% The Original Code is RabbitMQ.
12-
%%
13-
%% The Initial Developer of the Original Code is GoPivotal, Inc.
145
%% Copyright (c) 2007-2020 VMware, Inc. or its affiliates. All rights reserved.
156
%%
167

src/rabbit_prometheus_dispatcher.erl

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
%% The contents of this file are subject to the Mozilla Public License
2-
%% Version 1.1 (the "License"); you may not use this file except in
3-
%% compliance with the License. You may obtain a copy of the License at
4-
%% http://www.mozilla.org/MPL/
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/.
54
%%
6-
%% Software distributed under the License is distributed on an "AS IS"
7-
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
8-
%% License for the specific language governing rights and limitations
9-
%% under the License.
10-
%%
11-
%% The Original Code is RabbitMQ.
12-
%%
13-
%% The Initial Developer of the Original Code is GoPivotal, Inc.
145
%% Copyright (c) 2007-2020 VMware, Inc. or its affiliates. All rights reserved.
156
%%
167

src/rabbit_prometheus_handler.erl

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
%% The contents of this file are subject to the Mozilla Public License
2-
%% Version 1.1 (the "License"); you may not use this file except in
3-
%% compliance with the License. You may obtain a copy of the License at
4-
%% http://www.mozilla.org/MPL/
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/.
54
%%
6-
%% Software distributed under the License is distributed on an "AS IS"
7-
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
8-
%% License for the specific language governing rights and limitations
9-
%% under the License.
10-
%%
11-
%% The Original Code is RabbitMQ.
12-
%%
13-
%% The Initial Developer of the Original Code is GoPivotal, Inc.
145
%% Copyright (c) 2007-2020 VMware, Inc. or its affiliates. All rights reserved.
156
%%
167
-module(rabbit_prometheus_handler).

test/config_schema_SUITE.erl

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
1-
%% The contents of this file are subject to the Mozilla Public License
2-
%% Version 1.1 (the "License"); you may not use this file except in
3-
%% compliance with the License. You may obtain a copy of the License at
4-
%% https://www.mozilla.org/MPL/
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/.
54
%%
6-
%% Software distributed under the License is distributed on an "AS IS"
7-
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
8-
%% License for the specific language governing rights and limitations
9-
%% under the License.
10-
%%
11-
%% The Original Code is RabbitMQ.
12-
%%
13-
%% The Initial Developer of the Original Code is GoPivotal, Inc.
14-
%% Copyright (c) 2018-2020 VMware, Inc. or its affiliates. All rights reserved.
5+
%% Copyright (c) 2007-2020 VMware, Inc. or its affiliates. All rights reserved.
156
%%
167

178
-module(config_schema_SUITE).

test/config_schema_SUITE_data/rabbitmq_prometheus.snippets

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +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-2020 VMware, Inc. or its affiliates. All rights reserved.
6+
%%
7+
18
[
29
%%
310
%% Path

test/rabbit_prometheus_http_SUITE.erl

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
1-
%% The contents of this file are subject to the Mozilla Public License
2-
%% Version 1.1 (the "License"); you may not use this file except in
3-
%% compliance with the License. You may obtain a copy of the License at
4-
%% http://www.mozilla.org/MPL/
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/.
54
%%
6-
%% Software distributed under the License is distributed on an "AS IS"
7-
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
8-
%% License for the specific language governing rights and limitations
9-
%% under the License.
10-
%%
11-
%% The Original Code is RabbitMQ.
12-
%%
13-
%% The Initial Developer of the Original Code is GoPivotal, Inc.
14-
%% Copyright (c) 2016-2020 VMware, Inc. or its affiliates. All rights reserved.
5+
%% Copyright (c) 2007-2020 VMware, Inc. or its affiliates. All rights reserved.
156
%%
167

178
-module(rabbit_prometheus_http_SUITE).

0 commit comments

Comments
 (0)