MeiliSearch/meilisearch/tests
meili-bors[bot] eae9eab181
Merge #4126
4126: Make the experimental route /metrics activable via HTTP r=dureuill a=braddotcoffee

# Pull Request

## Related issue
Closes #4086

## What does this PR do?
- [x] Make `/metrics` available via HTTP as described in #4086 
- [x] The users can still launch Meilisearch using the `--experimental-enable-metrics` flag.
- [x] If the flag `--experimental-enable-metrics` is activated, a call to the `GET /experimental-features` route right after the launch will show `"metrics": true` even if the user has not called the `PATCH /experimental-features` route yet.
- [x] Even if the --experimental-enable-metrics flag is present at launch, calling the `PATCH /experimental-features` route with `"metrics": false` disables the experimental feature.
- [x] Update the spec
    - I was unable to find docs in this repository to update about the `/experimental-features` endpoint. I'll happily update if you point me in the right direction!

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Co-authored-by: bwbonanno <bradfordbonanno@gmail.com>
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2023-10-23 08:51:37 +00:00
..
assets serde ndjson fix 2022-12-21 11:27:15 +08:00
auth Make the experimental route /metrics activable via HTTP 2023-10-13 22:12:54 +00:00
common Make the experimental route /metrics activable via HTTP 2023-10-13 22:12:54 +00:00
dashboard Renames meilisearch-http to meilisearch 2022-12-08 08:22:53 -07:00
documents Merge #4080 2023-09-26 08:13:49 +00:00
dumps refactor the tests suite slightly 2023-09-11 16:56:26 +02:00
features Use RwLock to never persist cli state to db 2023-10-19 12:45:57 -07:00
index refactor the tests suite slightly 2023-09-11 16:56:26 +02:00
search Merge #4131 2023-10-18 14:56:08 +00:00
settings refactor the tests suite slightly 2023-09-11 16:56:26 +02:00
snapshot fix the flaky test 2023-09-11 16:56:26 +02:00
stats refactor the tests suite slightly 2023-09-11 16:56:26 +02:00
swap_indexes refactor the tests suite slightly 2023-09-11 16:56:26 +02:00
tasks refactor the tests suite slightly 2023-09-11 16:56:26 +02:00
content_type.rs refactor the tests suite slightly 2023-09-11 16:56:26 +02:00
integration.rs integration test on "/experimental-features" route 2023-07-06 09:01:28 +02:00