Comments (9)
Hi Lukas,
I agree this is a good request.
This information is available in the Purity API in GET /ports
. That URI has not been implemented in the OpenMetrics exporter.
@LukasBr1337 do you have any suggests on Semantic Conventions for this new suggested info metric? (eg for purefa-metrics.md ) or any suggestion what this metric output should look like?
from pure-fa-openmetrics-exporter.
for other vendors we know it like that -> /23:43:00:02:ac:02:5c:07/3:4:3/iops" 3:4:3 would be in this case Node:Slot:port
from pure-fa-openmetrics-exporter.
Here's a POC that I've built in my environment
I went ahead and wrote it for all port types. NVMe, iSCSI, and FC. My testing results are below.
Would this fit your requirements @LukasBr1337 ?
# HELP purefa_ports_fc_info FlashArray ports fc info
# TYPE purefa_ports_fc_info gauge
purefa_ports_fc_info{name="CT0.FC0",wwn="XX:XX:XX:XX:XX:XX:XX:00"} 1
purefa_ports_fc_info{name="CT0.FC1",wwn="XX:XX:XX:XX:XX:XX:XX:01"} 1
purefa_ports_fc_info{name="CT0.FC2",wwn="XX:XX:XX:XX:XX:XX:XX:02"} 1
purefa_ports_fc_info{name="CT0.FC3",wwn="XX:XX:XX:XX:XX:XX:XX:03"} 1
purefa_ports_fc_info{name="CT0.FC8",wwn="XX:XX:XX:XX:XX:XX:XX:08"} 1
purefa_ports_fc_info{name="CT0.FC9",wwn="XX:XX:XX:XX:XX:XX:XX:09"} 1
purefa_ports_fc_info{name="CT1.FC0",wwn="XX:XX:XX:XX:XX:XX:XX:10"} 1
purefa_ports_fc_info{name="CT1.FC1",wwn="XX:XX:XX:XX:XX:XX:XX:11"} 1
purefa_ports_fc_info{name="CT1.FC2",wwn="XX:XX:XX:XX:XX:XX:XX:12"} 1
purefa_ports_fc_info{name="CT1.FC3",wwn="XX:XX:XX:XX:XX:XX:XX:13"} 1
purefa_ports_fc_info{name="CT1.FC8",wwn="XX:XX:XX:XX:XX:XX:XX:18"} 1
purefa_ports_fc_info{name="CT1.FC9",wwn="XX:XX:XX:XX:XX:XX:XX:19"} 1
# HELP purefa_ports_iscsi_info FlashArray port iscsi info
# TYPE purefa_ports_iscsi_info gauge
purefa_ports_iscsi_info{iqn="iqn.2010-06.com.purestorage:flasharray.xxxxxxxxxxxxxxxx",name="CT0.ETH4",portal="192.168.x.1:3260"} 1
purefa_ports_iscsi_info{iqn="iqn.2010-06.com.purestorage:flasharray.xxxxxxxxxxxxxxxx",name="CT0.ETH5",portal="192.168.x.2:3260"} 1
purefa_ports_iscsi_info{iqn="iqn.2010-06.com.purestorage:flasharray.xxxxxxxxxxxxxxxx",name="CT1.ETH4",portal="192.168.x.3:3260"} 1
purefa_ports_iscsi_info{iqn="iqn.2010-06.com.purestorage:flasharray.xxxxxxxxxxxxxxxx",name="CT1.ETH5",portal="192.168.x.4:3260"} 1
# HELP purefa_ports_nvmeof_info FlashArray ports nvmeof info
# TYPE purefa_ports_nvmeof_info gauge
purefa_ports_nvmeof_info{name="CT0.ETH14",nqn="nqn.2010-06.com.purestorage:flasharray.xxxxxxxxxxxxxxxx",portal="192.168.x.5:4420"} 1
purefa_ports_nvmeof_info{name="CT0.ETH15",nqn="nqn.2010-06.com.purestorage:flasharray.xxxxxxxxxxxxxxxx",portal="192.168.x.6:4420"} 1
purefa_ports_nvmeof_info{name="CT1.ETH14",nqn="nqn.2010-06.com.purestorage:flasharray.xxxxxxxxxxxxxxxx",portal="192.168.x.7:4420"} 1
purefa_ports_nvmeof_info{name="CT1.ETH15",nqn="nqn.2010-06.com.purestorage:flasharray.xxxxxxxxxxxxxxxx",portal="192.168.x.8:4420"} 1
Note, none of the names, descriptions..etc are finalized - just demonstrating for now.
from pure-fa-openmetrics-exporter.
looks pretty good for us :)
BR
Lukas
from pure-fa-openmetrics-exporter.
only request... lower cases would be great :D
from pure-fa-openmetrics-exporter.
@LukasBr1337 FlashArrays produce their WWNs in uppercase and we are just directly reporting what the array sends us. Is there a specific reason why you would prefer them lowercase?
from pure-fa-openmetrics-exporter.
Alos, we currently report the hosts WWN information in uppercase as well, so moving to lowercase would create a misnatch of cases across different responses.
from pure-fa-openmetrics-exporter.
From other vendors and from the brocade switches we are getting them in lowercase so it would match better like that
from pure-fa-openmetrics-exporter.
@LukasBr1337 It is common for observability platforms to convert all tags to lowercase - such as this example in Datadog. This would convert the tags to lowercase like you are requesting
https://docs.datadoghq.com/getting_started/tagging/#define-tags
This example is with Datadog
![Screenshot 2024-02-13 at 2 05 02 PM](https://private-user-images.githubusercontent.com/90332286/304534089-28ea6b1d-86f1-4da1-b248-3aa6f783f5fb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDg1MzQyNDUsIm5iZiI6MTcwODUzMzk0NSwicGF0aCI6Ii85MDMzMjI4Ni8zMDQ1MzQwODktMjhlYTZiMWQtODZmMS00ZGExLWIyNDgtM2FhNmY3ODNmNWZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAyMjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMjIxVDE2NDU0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTViZjFiOWUxNWQ4ZDMxMzgzNzI0OTMyNDBiMDNkMWFlZmRlMDA5ZmJhNjhkMTg2NDVlMGMyMzY1ZjdjODg4YzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.vOyobcfW34BhpOQW7ReKpG9C_eI29V5K7tmsKlldyZU)
from pure-fa-openmetrics-exporter.
Related Issues (20)
- CVE-2023-45286 is causing issues with Quay Scanner
- Update useragent string to reflect calling platform HOT 3
- Array Load Statistics metric HOT 5
- purefa_alerts_open not reporting correctly HOT 4
- Error in token file: [-t|--tokens] stat /opt/pure-fa-exporter/fa.yaml: no such file or directory HOT 3
- [new metric proposal] - Power consumption per power supply - purefa_hw_component_power_watts HOT 3
- [new metric proposal] - Controller uptime in seconds - purefa_hw_controller_uptime_sec HOT 2
- [new metric proposal] - Object Limit per array - purefa_array_object_limit HOT 1
- Plugin restarting and collections stopped in Purity 6.4.4 and later HOT 3
- [feature request] HTTPS support for secure authentication HOT 2
- Adding “volume group” metrics to pure-fa-openmetrics-exporter and pure-fb-openmetrics exporters HOT 15
- File system metrics using Pure-fa-opemmetrics-exporter HOT 8
- Сonnection path state HOT 3
- fatal error: concurrent map writes HOT 5
- The OpenMetrics exporter is incorrectly calling the /hardware endpoint HOT 3
- [new metric proposal] - Drive capacity metrics - purefa_drive_capacity HOT 1
- Enhancements to purefa_alerts_open, collect additional fields. HOT 5
- Inquiry regarding the “Purestorage” version supported by the current “exporter” and the previous “exporter” HOT 8
- Grafana not showing data as expected with multiple arrays HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pure-fa-openmetrics-exporter.