[ 
https://issues.apache.org/jira/browse/GEODE-8065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Choudhary updated GEODE-8065:
------------------------------------
    Description: 
Connect to gfsh and run below command to export metrics to csv file.

gfsh>show metrics --file=/Users/ashishchoudhary/Downloads/test.csv

Cluster-wide Metrics

 

Category  |        Metric         | Value

--------- | --------------------- | -----

cluster   | totalHeapSize         | 886

cache     | totalRegionEntryCount | 0

          | totalRegionCount      | 1

          | totalMissCount        | 1

          | totalHitCount         | 4

diskstore | totalDiskUsage        | 0

          | diskReadsRate         | 0.0

          | diskWritesRate        | 0.0

          | flushTimeAvgLatency   | 0

          | totalBackupInProgress | 0

query     | activeCQCount         | 0

          | queryRequestRate      | 0.0

 

File saved to /Users/ashishchoudhary/Downloads/test.csv

But there is no file saved to the above location. Even if you manually create a 
file and export data using above gfsh command it shows zero bytes i.e no 
content after the export.

After manually creating .csv file

show metrics --file=/Users/ashishchoudhary/Downloads/test.csv

File "test.csv" already exists Overwrite? (Y/N) : Y

Cluster-wide Metrics

 

Category  |        Metric         | Value

--------- | --------------------- | -----

cluster   | totalHeapSize         | 886

cache     | totalRegionEntryCount | 0

          | totalRegionCount      | 1

          | totalMissCount        | 1

          | totalHitCount         | 4

diskstore | totalDiskUsage        | 0

          | diskReadsRate         | 0.0

          | diskWritesRate        | 0.0

          | flushTimeAvgLatency   | 0

          | totalBackupInProgress | 0

query     | activeCQCount         | 0

          | queryRequestRate      | 0.0

 

File saved to /Users/ashishchoudhary/Downloads/test.csv

There is no data actually in the .csv file.

  was:
Connect to gfsh and run below command to export metrics to csv file.

gfsh>show metrics --file=/Users/ashishchoudhary/Downloads/test.csv

Cluster-wide Metrics

 

Category  |        Metric         | Value

--------- | --------------------- | -----

cluster   | totalHeapSize         | 886

cache     | totalRegionEntryCount | 0

          | totalRegionCount      | 1

          | totalMissCount        | 1

          | totalHitCount         | 4

diskstore | totalDiskUsage        | 0

          | diskReadsRate         | 0.0

          | diskWritesRate        | 0.0

          | flushTimeAvgLatency   | 0

          | totalBackupInProgress | 0

query     | activeCQCount         | 0

          | queryRequestRate      | 0.0

 

File saved to /Users/ashishchoudhary/Downloads/test.csv

But there is no file saved to the above location. Even if you manually create a 
file and export data using above gfsh command it shows zero bytes i.e no 
content after the export.

Afer manually creating .csv file

show metrics --file=/Users/ashishchoudhary/Downloads/test.csv

File "test.csv" already exists Overwrite? (Y/N) : Y

Cluster-wide Metrics

 

Category  |        Metric         | Value

--------- | --------------------- | -----

cluster   | totalHeapSize         | 886

cache     | totalRegionEntryCount | 0

          | totalRegionCount      | 1

          | totalMissCount        | 1

          | totalHitCount         | 4

diskstore | totalDiskUsage        | 0

          | diskReadsRate         | 0.0

          | diskWritesRate        | 0.0

          | flushTimeAvgLatency   | 0

          | totalBackupInProgress | 0

query     | activeCQCount         | 0

          | queryRequestRate      | 0.0

 

File saved to /Users/ashishchoudhary/Downloads/test.csv

There is no data actually in the .csv file.


> show metrics --file option not exporting data to csv
> ----------------------------------------------------
>
>                 Key: GEODE-8065
>                 URL: https://issues.apache.org/jira/browse/GEODE-8065
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>            Reporter: Ashish Choudhary
>            Priority: Major
>
> Connect to gfsh and run below command to export metrics to csv file.
> gfsh>show metrics --file=/Users/ashishchoudhary/Downloads/test.csv
> Cluster-wide Metrics
>  
> Category  |        Metric         | Value
> --------- | --------------------- | -----
> cluster   | totalHeapSize         | 886
> cache     | totalRegionEntryCount | 0
>           | totalRegionCount      | 1
>           | totalMissCount        | 1
>           | totalHitCount         | 4
> diskstore | totalDiskUsage        | 0
>           | diskReadsRate         | 0.0
>           | diskWritesRate        | 0.0
>           | flushTimeAvgLatency   | 0
>           | totalBackupInProgress | 0
> query     | activeCQCount         | 0
>           | queryRequestRate      | 0.0
>  
> File saved to /Users/ashishchoudhary/Downloads/test.csv
> But there is no file saved to the above location. Even if you manually create 
> a file and export data using above gfsh command it shows zero bytes i.e no 
> content after the export.
> After manually creating .csv file
> show metrics --file=/Users/ashishchoudhary/Downloads/test.csv
> File "test.csv" already exists Overwrite? (Y/N) : Y
> Cluster-wide Metrics
>  
> Category  |        Metric         | Value
> --------- | --------------------- | -----
> cluster   | totalHeapSize         | 886
> cache     | totalRegionEntryCount | 0
>           | totalRegionCount      | 1
>           | totalMissCount        | 1
>           | totalHitCount         | 4
> diskstore | totalDiskUsage        | 0
>           | diskReadsRate         | 0.0
>           | diskWritesRate        | 0.0
>           | flushTimeAvgLatency   | 0
>           | totalBackupInProgress | 0
> query     | activeCQCount         | 0
>           | queryRequestRate      | 0.0
>  
> File saved to /Users/ashishchoudhary/Downloads/test.csv
> There is no data actually in the .csv file.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to