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

OpenSearch PerfTop metric values are not showing properly in k8s #23

Open
GaneshbabuRamamoorthy opened this issue Oct 19, 2021 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@GaneshbabuRamamoorthy
Copy link

Hi All,

I tried deploying OpenSearch helm chart in my k8s cluster and below is the pod status,

[root@k8master1 robin]# kubectl get pods -n es
NAME                             READY   STATUS    RESTARTS   AGE
opensearch-cluster-master-0      1/1     Running   4          21d
opensearch-cluster-master-1      1/1     Running   4          21d
opensearch-cluster-master-2      1/1     Running   0          21d

and I tried executing the below commands inside the pod to enable performance analyzer

curl -XPOST https://opensearch-cluster-master:9200/_plugins/_performanceanalyzer/cluster/config -H 'Content-Type: application/json' -d '{"enabled": true}' -u 'admin:admin' -k
curl -XPOST https://opensearch-cluster-master:9200/_plugins/_performanceanalyzer/rca/cluster/config -H 'Content-Type: application/json' -d '{"enabled": true}' -u 'admin:admin' -k

curl -k -u admin:admin -XPOST https://opensearch-cluster-master:9200/_plugins/_performanceanalyzer/batch/config -H 'Content-Type: application/json' -d '{"enabled": true}'
curl -k -u admin:admin -XPOST https://opensearch-cluster-master:9200/_plugins/_performanceanalyzer/batch/cluster/config -H 'Content-Type: application/json' -d '{"enabled": true}'
[opensearch@opensearch-cluster-master-0 ~]$ curl -k -u admin:admin -XGET https://opensearch-cluster-master:9200/_plugins/_performanceanalyzer/config
{"performanceAnalyzerEnabled":true,"rcaEnabled":true,"loggingEnabled":false,"shardsPerCollection":0,"batchMetricsEnabled":true,"batchMetricsRetentionPeriodMinutes":7}

[opensearch@opensearch-cluster-master-0 ~]$ curl -k -u admin:admin -XGET https://opensearch-cluster-master:9200/_plugins/_performanceanalyzer/cluster/config
{"currentPerformanceAnalyzerClusterState":11,"shardsPerCollection":0,"batchMetricsRetentionPeriodMinutes":7}

and then I have tried downloading the opensearch perf top linux and copied the file to inside the pod,

https://github.com/opensearch-project/perftop/releases/download/1.0.0.0/opensearch-perf-top-1.0.0.0-linux-x64.zip

I executed the below command inside the pod to see the performance of cluster,

[opensearch@opensearch-cluster-master-0 opensearch-perf-top-linux]$ ./opensearch-perf-top-linux --dashboard ClusterOverview --endpoint localhost:9600

below is the response I got in the cmd line,

image

[opensearch@opensearch-cluster-master-0 opensearch-perf-top-linux]$ ./opensearch-perf-top-linux --dashboard NodeAnalysis --endpoint localhost:9600

below is the response I got in the cmd line,

image

[opensearch@opensearch-cluster-master-0 opensearch-perf-top-linux]$ ./opensearch-perf-top-linux --dashboard ClusterThreadAnalysis --endpoint localhost:9600

below is the response I got in the cmd line,

image

Can you please help me to understand why the special characters are showing in the dashboard.

Please correct me If I am doing anything wrong in the setup.

Attached the performance analyzer properties file for reference,

performance-analyzer-properties.txt

Regards,
Ganeshbabu R

@GaneshbabuRamamoorthy GaneshbabuRamamoorthy added bug Something isn't working untriaged labels Oct 19, 2021
@kkhatua kkhatua added wontfix This will not be worked on and removed untriaged labels Nov 3, 2022
@kkhatua
Copy link
Member

kkhatua commented Nov 3, 2022

We're deprioritizing this in favor of moving to a Web-based UI, but will leave the issue as open.
Feel free to create a pull-request if this is critical and the above steps for configuring doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants