[ 
https://issues.apache.org/jira/browse/GEODE-8065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17516451#comment-17516451
 ] 

Geode Integration commented on GEODE-8065:
------------------------------------------

Seen in [distributed-test-openjdk8 
#1787|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-mass-test-run/jobs/distributed-test-openjdk8/builds/1787]
 ... see [test 
results|http://files.apachegeode-ci.info/builds/apache-develop-mass-test-run/1.15.0-build.1060/test-results/distributedTest/1648933784/]
 or download 
[artifacts|http://files.apachegeode-ci.info/builds/apache-develop-mass-test-run/1.15.0-build.1060/test-artifacts/1648933784/distributedtestfiles-openjdk8-1.15.0-build.1060.tgz].

> 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.20.1#820001)

Reply via email to