-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update `/metrics` with HTTP API activation info (#2614) * v1.5: Add Khmer to list of officially supported languages (#2617) * Bump docker version (#2618) * v1.5: Postman collection (#2619) * v1.5: Puffin reports (#2613) * v1.5: New `/snapshots` API route (#2616) --------- Co-authored-by: Clément Renault <[email protected]>
- Loading branch information
1 parent
67d5a89
commit a8a4576
Showing
15 changed files
with
170 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: Puffin reports — Meilisearch documentation | ||
description: Puffin is an instrumentation profiler for Rust applications. Use this experimental feature when trying to diagnose performance issues during indexing. | ||
--- | ||
|
||
# Puffin reports | ||
|
||
Puffin is an instrumentation profiler for Rust applications. Use this feature when trying to diagnose performance issues during indexing. Avoid enabling Puffin reports in production, as it might affect the performance and memory usage of other Meilisearch operations. | ||
|
||
[Visit the GitHub discussion to learn how to use this feature](https://github.com/meilisearch/product/discussions/693). | ||
|
||
Are you using this feature? Meilisearch wants to hear from you! Tell us about your experience in the [GitHub discussion](https://github.com/meilisearch/product/discussions/693). All feedback is useful and helps make Meilisearch better and easier to use. | ||
|
||
<Capsule intent="warning"> | ||
Exporting Puffin reports is an experimental feature. Experimental features are unstable: their API might significantly change and become incompatible between releases. Meilisearch does not recommend using experimental features in a production environment. | ||
|
||
Meilisearch makes experimental features available expecting they will become stable in a future release. However, it is not possible to guarantee when and if this will happen. | ||
</Capsule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: Snapshots — Meilisearch API reference | ||
description: The /snapshots route creates database snapshots. Use snapshots to backup your Meilisearch data. | ||
--- | ||
|
||
# Snapshots | ||
|
||
The `/snapshot` route allows you to create database snapshots. Snapshots are `.snapshot` files that can be used to make quick backups of Meilisearch data. | ||
|
||
[Learn more about snapshots.](/learn/advanced/snapshots) | ||
|
||
## Create a snapshot | ||
|
||
<RouteHighlighter method="POST" route="/snapshots"/> | ||
|
||
Triggers a snapshot creation task. Once the process is complete, Meilisearch creates a snapshot in the [snapshot directory](/learn/configuration/instance_options#snapshot-destination). If the snapshot directory does not exist yet, it will be created. | ||
|
||
Snapshot tasks take priority over other tasks in the queue. | ||
|
||
[Learn more about asynchronous operations](/learn/async/asynchronous_operations). | ||
|
||
### Example | ||
|
||
<CodeSamples id="create_snapshot_1" /> | ||
|
||
#### Response: `202 Accepted` | ||
|
||
```json | ||
{ | ||
"taskUid": 1, | ||
"indexUid": null, | ||
"status": "enqueued", | ||
"type": "snapshotCreation", | ||
"enqueuedAt": "2023-06-21T11:09:36.417758Z" | ||
} | ||
``` | ||
|
||
You can use this `taskUid` to get more details on [the status of the task](/reference/api/tasks#get-one-task) | ||
|