Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Qdrant): Support for new Hardware/Memory metrics #2571

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion qdrant/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# CHANGELOG - Qdrant

## 1.1.0 / 2024-12-20

***Added***:

* Support for new Hardware/Memory metrics.

## 1.0.0 / 2024-08-10

***Added***:

* Initial Release

4 changes: 2 additions & 2 deletions qdrant/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ For Agent v7.21+ / v6.21+, follow the instructions below to install the Qdrant c
1. Run the following command to install the Agent integration:

```shell
datadog-agent integration install -t qdrant==1.0.0
datadog-agent integration install -t qdrant==1.1.0
```

2. Configure your integration similar to core [integrations][4].

### Configuration

1. Edit the `qdrant.d/conf.yaml` file in the `conf.d/` folder at the root of your [Agent's configuration directory][7] to start collecting your Qdrant [metrics](#metrics).
1. Edit the `conf.d/qdrant.d/conf.yaml` file in your [Agent's configuration directory][7] to start collecting your Qdrant [metrics](#metrics)

Most importantly, set the `openmetrics_endpoint` value to the [`/metrics` endpoint](https://qdrant.tech/documentation/guides/monitoring/#monitoring) of your Qdrant instance.

Expand Down
357 changes: 357 additions & 0 deletions qdrant/assets/dashboards/qdrant_overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,363 @@
"x": 0,
"y": 20,
"width": 12,
"height": 1
}
},
{
"id": 1813047088833060,
"definition": {
"title": "Memory/Hardware Statistics",
"background_color": "vivid_yellow",
"show_title": true,
"type": "group",
"layout_type": "ordered",
"widgets": [
{
"id": 5441680164423334,
"definition": {
"type": "note",
"content": "These metrics help assess the memory and hardware usage of the running Qdrant instance.",
"background_color": "yellow",
"font_size": "14",
"text_align": "center",
"vertical_align": "center",
"show_tick": false,
"tick_pos": "50%",
"tick_edge": "left",
"has_padding": true
},
"layout": {
"x": 0,
"y": 0,
"width": 12,
"height": 1
}
},
{
"id": 8032518802625521,
"definition": {
"title": "Total Allocated Memory",
"title_size": "16",
"title_align": "left",
"show_legend": true,
"legend_layout": "auto",
"legend_columns": [
"avg",
"min",
"max",
"value",
"sum"
],
"time": {},
"type": "timeseries",
"requests": [
{
"formulas": [
{
"number_format": {
"unit": {
"type": "canonical_unit",
"unit_name": "byte"
}
},
"formula": "query1"
}
],
"queries": [
{
"data_source": "metrics",
"name": "query1",
"query": "avg:qdrant.memory.allocated.bytes{$host}"
}
],
"response_format": "timeseries",
"style": {
"palette": "dog_classic",
"line_type": "solid",
"line_width": "normal"
},
"display_type": "line"
}
]
},
"layout": {
"x": 0,
"y": 1,
"width": 6,
"height": 2
}
},
{
"id": 7082919554448487,
"definition": {
"title": "Total Active Pages",
"title_size": "16",
"title_align": "left",
"show_legend": true,
"legend_layout": "auto",
"legend_columns": [
"avg",
"min",
"max",
"value",
"sum"
],
"time": {},
"type": "timeseries",
"requests": [
{
"formulas": [
{
"number_format": {
"unit": {
"type": "canonical_unit",
"unit_name": "byte"
}
},
"formula": "query1"
}
],
"queries": [
{
"data_source": "metrics",
"name": "query1",
"query": "avg:qdrant.memory.active.bytes{$host}"
}
],
"response_format": "timeseries",
"style": {
"palette": "dog_classic",
"line_type": "solid",
"line_width": "normal"
},
"display_type": "line"
}
]
},
"layout": {
"x": 6,
"y": 1,
"width": 6,
"height": 2
}
},
{
"id": 175987394328154,
"definition": {
"title": "Total Memory For Metadata",
"title_size": "16",
"title_align": "left",
"show_legend": true,
"legend_layout": "auto",
"legend_columns": [
"avg",
"min",
"max",
"value",
"sum"
],
"time": {},
"type": "timeseries",
"requests": [
{
"formulas": [
{
"number_format": {
"unit": {
"type": "canonical_unit",
"unit_name": "byte"
}
},
"formula": "query2"
}
],
"queries": [
{
"data_source": "metrics",
"name": "query2",
"query": "avg:qdrant.memory.metadata.bytes{$host}"
}
],
"response_format": "timeseries",
"style": {
"palette": "dog_classic",
"line_type": "solid",
"line_width": "normal"
},
"display_type": "line"
}
]
},
"layout": {
"x": 0,
"y": 3,
"width": 6,
"height": 2
}
},
{
"id": 3706444032444287,
"definition": {
"title": "Max Physically Resident Data Pages",
"title_size": "16",
"title_align": "left",
"show_legend": true,
"legend_layout": "auto",
"legend_columns": [
"avg",
"min",
"max",
"value",
"sum"
],
"time": {},
"type": "timeseries",
"requests": [
{
"formulas": [
{
"number_format": {
"unit": {
"type": "canonical_unit",
"unit_name": "byte"
}
},
"formula": "query2"
}
],
"queries": [
{
"data_source": "metrics",
"name": "query2",
"query": "avg:qdrant.memory.resident.bytes{$host}"
}
],
"response_format": "timeseries",
"style": {
"palette": "dog_classic",
"line_type": "solid",
"line_width": "normal"
},
"display_type": "line"
}
]
},
"layout": {
"x": 6,
"y": 3,
"width": 6,
"height": 2
}
},
{
"id": 8396142645919885,
"definition": {
"title": "Total Virtual Memory Mappings",
"title_size": "16",
"title_align": "left",
"show_legend": true,
"legend_layout": "auto",
"legend_columns": [
"avg",
"min",
"max",
"value",
"sum"
],
"time": {},
"type": "timeseries",
"requests": [
{
"formulas": [
{
"number_format": {
"unit": {
"type": "canonical_unit",
"unit_name": "byte"
}
},
"formula": "query2"
}
],
"queries": [
{
"data_source": "metrics",
"name": "query2",
"query": "avg:qdrant.memory.retained.bytes{$host}"
}
],
"response_format": "timeseries",
"style": {
"palette": "dog_classic",
"line_type": "solid",
"line_width": "normal"
},
"display_type": "line"
}
]
},
"layout": {
"x": 0,
"y": 5,
"width": 6,
"height": 2
}
},
{
"id": 1903746319505022,
"definition": {
"title": "CPU Measurements",
"title_size": "16",
"title_align": "left",
"show_legend": true,
"legend_layout": "auto",
"legend_columns": [
"avg",
"min",
"max",
"value",
"sum"
],
"time": {},
"type": "timeseries",
"requests": [
{
"formulas": [
{
"formula": "query2"
}
],
"queries": [
{
"data_source": "metrics",
"name": "query2",
"query": "avg:qdrant.collection.hardware.metric.cpu{$host}"
}
],
"response_format": "timeseries",
"style": {
"palette": "dog_classic",
"line_type": "solid",
"line_width": "normal"
},
"display_type": "line"
}
]
},
"layout": {
"x": 6,
"y": 5,
"width": 6,
"height": 2
}
}
]
},
"layout": {
"x": 0,
"y": 21,
"width": 12,
"height": 8
}
}
Expand Down
Loading
Loading