Commit Graph

42 Commits

Author SHA1 Message Date
Michael Klishin 968eefa1bb
Bump (c) line year
There are no functional changes to this massive diff.
2025-01-01 17:54:10 -05:00
Michal Kuratczyk cfa3de4b2b
Remove unused imports (thanks elp!) 2024-05-23 16:36:08 +02:00
Michael Klishin f414c2d512
More missed license header updates #9969 2024-02-05 11:53:50 -05:00
Michael Klishin 01092ff31f
(c) year bumps 2024-01-01 22:02:20 -05:00
Michael Klishin 1b642353ca
Update (c) according to [1]
1. https://investors.broadcom.com/news-releases/news-release-details/broadcom-and-vmware-intend-close-transaction-november-22-2023
2023-11-21 23:18:22 -05:00
Diana Parra Corbacho 07196e297b Reduce the number of metrics served by GET /api/queues
Introduce GET /api/queues/detailed endpoint

Just removed garbage_collection, idle_since and any 'null' value

/api/queues with 10k classic queues returns 7.4MB of data
/api/queues/detailed with 10k classic queues returns 11MB of data

This sits behind a new feature flag, required to collect data from
all nodes: detailed_queues_endpoint
2023-10-23 19:49:37 -04:00
Michael Klishin ec4f1dba7d
(c) year bump: 2022 => 2023 2023-01-01 23:17:36 -05:00
Luke Bakken 7fe159edef
Yolo-replace format strings
Replaces `~s` and `~p` with their unicode-friendly counterparts.

```
git ls-files *.erl | xargs sed -i.ORIG -e s/~s>/~ts/g -e s/~p>/~tp/g
```
2022-10-10 10:32:03 +04:00
Jean-Sébastien Pédron 6e9ee4d0da
Remove test code which depended on the `quorum_queue` feature flags
These checks are now irrelevant as the feature flag is required.
2022-08-01 12:41:30 +02:00
Michael Klishin c38a3d697d
Bump (c) year 2022-03-21 01:21:56 +04:00
Philip Kuryloski d6399bbb5b
Mixed version testing in bazel (#3200)
Unlike with gnu make, mixed version testing with bazel uses a package-generic-unix for the secondary umbrella rather than the source. This brings the benefit of being able to mixed version test releases built with older erlang versions (even though all nodes will run under the single version given to bazel)

This introduces new test labels, adding a `-mixed` suffix for every existing test. They can be skipped if necessary with `--test_tag_filters` (see the github actions workflow for an example)

As part of the change, it is now possible to run an old release of rabbit with rabbitmq_run rule, such as:

`bazel run @rabbitmq-server-generic-unix-3.8.17//:rabbitmq-run run-broker`
2021-07-19 14:33:25 +02:00
Michael Klishin 52479099ec
Bump (c) year 2021-01-22 09:00:14 +03:00
dcorbacho 61200542ec Switch to Mozilla Public License 2.0 (MPL 2.0) 2020-07-13 17:00:00 +01:00
Jean-Sébastien Pédron d78292517b Update copyright (year 2020) 2020-03-10 15:41:36 +01:00
Michael Klishin 7f7b39f07b (c) bump 2019-12-29 05:50:30 +03:00
Jean-Sébastien Pédron 3ce9849f27 rabbit_mgmt_gc_SUITE: Skip `quorum_queue_stats` if quorum queues are unsupported 2019-04-16 12:06:13 +02:00
Diana Corbacho ff266f0c8c Clean up of non-local queue stats
Followers/slaves should not hold stats for any non-local queue.
Ensure clean up happens if any has been left behind

[#165153327]
2019-04-08 20:50:29 +01:00
Spring Operator 9ae86c9a42 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://blog.listincomprehension.com/search/label/procket (200) with 1 occurrences could not be migrated:
   ([https](https://blog.listincomprehension.com/search/label/procket) result ClosedChannelException).
* http://dozzie.jarowit.net/trac/wiki/TOML (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/TOML) result SSLHandshakeException).
* http://dozzie.jarowit.net/trac/wiki/subproc (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/subproc) result SSLHandshakeException).
* http://e2project.org (200) with 1 occurrences could not be migrated:
   ([https](https://e2project.org) result AnnotatedConnectException).
* http://nitrogenproject.com/ (200) with 2 occurrences could not be migrated:
   ([https](https://nitrogenproject.com/) result ConnectTimeoutException).
* http://proper.softlab.ntua.gr (200) with 1 occurrences could not be migrated:
   ([https](https://proper.softlab.ntua.gr) result SSLHandshakeException).
* http://yaws.hyber.org (200) with 1 occurrences could not be migrated:
   ([https](https://yaws.hyber.org) result AnnotatedConnectException).
* http://choven.ca (503) with 1 occurrences could not be migrated:
   ([https](https://choven.ca) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://fixprotocol.org/ (301) with 1 occurrences migrated to:
  https://fixtrading.org ([https](https://fixprotocol.org/) result SSLHandshakeException).
* http://erldb.org (UnknownHostException) with 1 occurrences migrated to:
  https://erldb.org ([https](https://erldb.org) result UnknownHostException).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://cloudi.org/ with 27 occurrences migrated to:
  https://cloudi.org/ ([https](https://cloudi.org/) result 200).
* http://erlware.org/ with 1 occurrences migrated to:
  https://erlware.org/ ([https](https://erlware.org/) result 200).
* http://inaka.github.io/cowboy-trails/ with 1 occurrences migrated to:
  https://inaka.github.io/cowboy-trails/ ([https](https://inaka.github.io/cowboy-trails/) result 200).
* http://ninenines.eu with 6 occurrences migrated to:
  https://ninenines.eu ([https](https://ninenines.eu) result 200).
* http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to:
  https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200).
* http://www.actordb.com/ with 2 occurrences migrated to:
  https://www.actordb.com/ ([https](https://www.actordb.com/) result 200).
* http://www.cs.kent.ac.uk/projects/wrangler/Home.html with 1 occurrences migrated to:
  https://www.cs.kent.ac.uk/projects/wrangler/Home.html ([https](https://www.cs.kent.ac.uk/projects/wrangler/Home.html) result 200).
* http://www.rebar3.org with 1 occurrences migrated to:
  https://www.rebar3.org ([https](https://www.rebar3.org) result 200).
* http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* http://inaka.github.com/apns4erl with 1 occurrences migrated to:
  https://inaka.github.com/apns4erl ([https](https://inaka.github.com/apns4erl) result 301).
* http://inaka.github.com/edis/ with 1 occurrences migrated to:
  https://inaka.github.com/edis/ ([https](https://inaka.github.com/edis/) result 301).
* http://lasp-lang.org/ with 1 occurrences migrated to:
  https://lasp-lang.org/ ([https](https://lasp-lang.org/) result 301).
* http://saleyn.github.com/erlexec with 1 occurrences migrated to:
  https://saleyn.github.com/erlexec ([https](https://saleyn.github.com/erlexec) result 301).
* http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx with 1 occurrences migrated to:
  https://technet.microsoft.com/en-us/sysinternals/bb896655.aspx ([https](https://technet.microsoft.com/en-us/sysinternals/bb896655.aspx) result 301).
* http://www.mozilla.org/MPL/ with 21 occurrences migrated to:
  https://www.mozilla.org/MPL/ ([https](https://www.mozilla.org/MPL/) result 301).
* http://zhongwencool.github.io/observer_cli with 1 occurrences migrated to:
  https://zhongwencool.github.io/observer_cli ([https](https://zhongwencool.github.io/observer_cli) result 301).
* http://mozilla.org/MPL/2.0/ with 1 occurrences migrated to:
  https://mozilla.org/MPL/2.0/ ([https](https://mozilla.org/MPL/2.0/) result 302).
2019-03-20 03:18:00 -05:00
kjnilsson 914269be31 Merge branch 'stable' 2017-07-10 11:26:47 +01:00
kjnilsson aeb6a0fdab Improve test assertion in metrics:node test.
Instead of trying to cover all connected nodes we
assert that there is a metric row from node A to node B.
2017-07-10 11:22:18 +01:00
Jean-Sébastien Pédron 94f2be61ae Merge branch 'stable' 2017-07-03 12:20:33 +02:00
Jean-Sébastien Pédron 25b728abf7 metrics_SUITE: Use wait_until() in `node` testcase
... instead of a contstant timer. It takes more time to stabilize with
with some runs, so this avoids transient failures.
2017-07-03 12:18:15 +02:00
Daniil Fedotov 823f5aab99 Replace dicts with maps 2017-04-24 18:25:38 +01:00
Michael Klishin 7247ffc5c1 (c) year 2017-04-02 21:48:27 +03:00
Diana Corbacho d3fd395f21 Test and clean up stats dependent on both process and entity
It leaked consumer_stats when the queue still existed, now both
entity and process must exist to keep the stats.
2017-03-07 10:17:59 +00:00
kjnilsson d697327f88 exometer_slide: normalise last_two
If a slide has been idle for some time then sees a single sample
the interval between the samples is much greater than the
slide interval which would result in an articifially low rate.
2017-03-01 08:34:27 +00:00
Diana Corbacho 85a59629b9 Do not carry forward too old values from buffer2 2017-02-22 10:43:15 +00:00
Diana Corbacho 66d5a1c882 Remove unused variable 2017-02-21 16:56:35 +00:00
Diana Corbacho 19560487d4 Avoid filling towards the past when we have older values available 2017-02-21 16:56:35 +00:00
Diana Corbacho 66490bb80d Avoid filling range towards the past (that'd be TS-Interval < Start) 2017-02-21 16:56:27 +00:00
Diana Corbacho 0623be32ba Test consumer stats 2017-02-20 14:37:55 +00:00
Diana Corbacho 5eaaf2ce1d Test stats gc 2017-02-20 14:14:51 +00:00
Jean-Sébastien Pédron 2e1652efff metrics_SUITE: Fix an "unused variable" warning 2017-01-12 10:43:11 +01:00
Diana Corbacho a6c5e52ca4 Fix typo and add tests to verify stats recover after reset 2017-01-11 12:54:54 +01:00
kjnilsson c45ec52f09 Move metrics collectors to agent 2016-11-29 13:00:50 +00:00
Jean-Sébastien Pédron cde27939f2 metrics_SUITE: Remove `amqp_client.hrl` inclusion 2016-09-27 12:43:38 +02:00
Daniil Fedotov 7b4f2daacd Do not send metrics ETS tables to management collector 2016-09-20 13:16:38 +01:00
kjnilsson 83255f581e refresh node metrics multiple times
whitespace
2016-09-07 16:20:03 +01:00
kjnilsson 5cc21d7625 test for agent collector 2016-09-07 15:53:22 +01:00
kjnilsson 3ac9591a43 update external stats on init 2016-09-07 12:50:05 +01:00
kjnilsson d08fef8f35 lower excessive test sleep 2016-09-06 09:52:35 +01:00
kjnilsson 377db86c55 add basic metrics tests for external metrics 2016-09-06 09:34:41 +01:00