NetApp / harvest

Open-metrics endpoint for ONTAP and StorageGRID
https://netapp.github.io/harvest/latest
Apache License 2.0
150 stars 37 forks source link

Disk Total Count Incorrect #3125

Closed WayneShen2 closed 2 months ago

WayneShen2 commented 2 months ago

Is your feature request related to a problem? Please describe. Disk Count incorrect. The 2 cluster total disks should be 1080, but the dashboard only show 1032

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

rahulguptajss commented 2 months ago

@WayneShen2 If you update this panel query to below. Does it work fine?

count(disk_labels{datacenter=~"$Datacenter",cluster=~"$Cluster",node=~"$Node"}) 
WayneShen2 commented 2 months ago

Micron Confidential

Thank you, Rahul

That is working as expected

Thanks Best regards,

@. Wayne Shen 沈 傳雄 SR ENGINEER - DATA STORAGE & RESILIENCE IT Infrastructure & Operations @*.**@*.***> Micron [Twitter] https://www.youtube.com/user/MicronTechnology https://www.facebook.com/MicronTechUSA [Twitter] https://twitter.com/MicronTech [LinkedIn] https://www.linkedin.com/company/micron-technology [Weibo] https://www.weibo.com/p/1006065098072825 [WeChat] https://mp.weixin.qq.com/mp/profile_eet?action=home& [Micron Technology Blog] https://www.micron.com/about/blogs

Micron Confidential

From: Rahul @.> Sent: Thursday, August 29, 2024 4:08 PM To: NetApp/harvest @.> Cc: Wayne Shen 沈 傳雄 @.>; Mention @.> Subject: [EXT] Re: [NetApp/harvest] Disk Total Count Incorrect (Issue #3125)

CAUTION: EXTERNAL EMAIL. Do not click links or open attachments unless you recognize the sender and were expecting this message.

@WayneShen2https://github.com/WayneShen2 If you update this panel query to below. Does it work fine?

count(disk_labels{datacenter=~"$Datacenter",cluster=~"$Cluster",node=~"$Node"})

— Reply to this email directly, view it on GitHubhttps://github.com/NetApp/harvest/issues/3125#issuecomment-2316972181, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHBXJZSNBOYXZFSO636V7YDZT3JFTAVCNFSM6AAAAABNJ2Y32CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJWHE3TEMJYGE. You are receiving this because you were mentioned.Message ID: @.**@.>>

rahulguptajss commented 2 months ago

Thanks. It will be fixed via #3126