opensearch-project / opensearch-project/performance-analyzer

[BUG] Opensearch 2.6.0 ShardBulkDocs Metrics is always empty

Open
#405 9 comments 0 reactions 1 assignee View on GitHub

@Tjofil is already working on this.

Since Mar 31, 2023.

bug v2.8.0
Dominant language
Java
Stars
48
Forks
78
Avg merge
1d 2h
Merged PRs (30d)
5

Description

What is the bug?
ShardBulkDocs Metrics is always empty when calling performance Analyzer API. Other metrics are working.
I re-open the problem is still in 2.6.0 https://github.com/opensearch-project/performance-analyzer/issues/77

How can one reproduce the bug?
Steps to reproduce the behavior:

docker compose enclosed
docker-compose.txt

Follow step to activate performance analyzer : https://opensearch.org/docs/latest/opensearch/install/docker/#optional-set-up-performance-analyzer

Create test index and POST documents in this index PUT test (see enclosed)
postdata.txt

while pushing documents, call from your browser : http://localhost:9600/_plugins/_performanceanalyzer/metrics?metrics=ShardBulkDocs,ShardEvents&agg=sum,sum
you 'll get only ShardEvents numbers and no data on ShardBulkDocs

{"CkXsbxtMTDisNx2ahHqrIw": {"timestamp": 1635425175000, "data": {"fields":[{"name":"ShardBulkDocs","type":"DOUBLE"},{"name":"ShardEvents","type":"DOUBLE"}],"records":[[0.0,27.0]]}}}

What is the expected behavior?
On previous Open Distro 1.13.1 this call was working

What is your host/environment?

Opensearch 2.6.0 Docker

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.