describe_index
endpoint to get a complete description of a specific index:
delete_index
operation to delete a pod-based index and all of its associated resources.
403 - FORBIDDEN
status with the following error:
metadata_config
parameter.
metadata_config
parameter is a JSON object containing the names of the metadata fields to index.
genre
metadata field. Queries against this index that filter for the genre
metadata field may return results; queries that filter for other metadata fields behave as though those fields do not exist.
2024-07
, Python SDK v5.0.0, Node.js SDK v3.0.0, Java SDK v2.0.0, or Go SDK v1.0.0 or later.deletion_protection
parameter to enabled
.
To enable deletion protection when creating a new index:
403 - FORBIDDEN
status with the following error:
delete
operation. This deletes all records in the namespace that match the filter expression.
For example, the following code deletes all records with a genre
field set to documentary
from namespace example-namespace
:
s1
pod type provides large storage capacity and lower overall costs with slightly higher query latencies than p1
pods. By switching to a different pod type, you may be able to reduce costs while still getting the performance your application needs.
scrape_configs
section of your prometheus.yml
file and update it with values for your Prometheus integration:
API_KEY
with an API key for the project you want to monitor. If necessary, you can create an new API key in the Pinecone console.
ENVIRONMENT
with the environment of the pod-based indexes you want to monitor.
Name | Type | Description |
---|---|---|
pinecone_vector_count | gauge | The number of records per pod in the index. |
pinecone_request_count_total | counter | The number of data plane calls made by clients. |
pinecone_request_error_count_total | counter | The number of data plane calls made by clients that resulted in errors. |
pinecone_request_latency_seconds | histogram | The distribution of server-side processing latency for pinecone data plane calls. |
pinecone_index_fullness | gauge | The fullness of the index on a scale of 0 to 1. |
Label | Description |
---|---|
pid | Process identifier. |
index_name | Name of the index to which the metric applies. |
project_name | Name of the project containing the index. |
request_type | Type of request: upsert , delete , fetch , query , or describe_index_stats . This label is included only in pinecone_request_* metrics. |
docs-example
:
docs-example
:
docs-example
over one minute:
docs-example
over one minute:
docs-example
over one minute:
docs-example
: