Open GaneshbabuRamamoorthy opened 2 years ago
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,
[opensearch@opensearch-cluster-master-0 opensearch-perf-top-linux]$ ./opensearch-perf-top-linux --dashboard NodeAnalysis --endpoint localhost:9600
[opensearch@opensearch-cluster-master-0 opensearch-perf-top-linux]$ ./opensearch-perf-top-linux --dashboard ClusterThreadAnalysis --endpoint localhost:9600
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
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.
Hi All,
I tried deploying OpenSearch helm chart in my k8s cluster and below is the pod status,
and I tried executing the below commands inside the pod to enable performance analyzer
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,
[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,
[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,
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