Skip to content

Commit 493b5da

Browse files
committed
update change log and support matirix for the release version 7.0.1
1 parent 910d8c7 commit 493b5da

File tree

5 files changed

+202
-159
lines changed

5 files changed

+202
-159
lines changed

docs/CHANGELOG.md

Lines changed: 181 additions & 155 deletions
Original file line numberDiff line numberDiff line change
@@ -1,155 +1,181 @@
1-
# Version 7 (04/26/2021)
2-
3-
Added support for [IBM Spectrum Scale 5.1.1](https://www.ibm.com/docs/en/spectrum-scale/5.1.1?topic=summary-changes)
4-
- added IBM Spectrum Scale Performance monitoring API key authentication
5-
- added command line arguments('apiKeyName' and 'apiKeyValue') allowing to submit the API key authentication data at the bridge start
6-
- changed default serverPort to 9980
7-
Added the article "Configuring a performance monitoring API key for the IBM Spectrum Scale Performance Monitoring Bridge" to the Wiki
8-
9-
Expanded test module with unit tests for the apiKeyValue verification
10-
11-
12-
13-
# Version 6.1.3 (05/21/2021)
14-
15-
Added support for the 'includeDiskData' command line argument.
16-
- using the 'includeDiskData' option allows to query and fetch data from the archived (on disk data) for better precision.
17-
18-
Expanded test module with more unit tests
19-
20-
Tested with Grafana 7.5.1 version
21-
22-
23-
24-
# Version 6.1.2 (03/20/2021)
25-
26-
Removed the "switching to the multi-threaded zimon port automatically" feature
27-
Added logic closing the socket connection in case the query to the pmcollector ends up in an Exception
28-
Added new "MOREINFO" level to the logger
29-
Added log tracing for the cherrypy server process pid
30-
31-
Expanded test module with unit tests for the bridgeLogger module
32-
33-
34-
35-
# Version 6.1.1 (03/05/2021)
36-
37-
Added version tracking inside the bridge module
38-
Added "config.ini" file with the default configuration settings, which can be updated, saved away and restored by the user
39-
Expanded list of the editable command line arguments
40-
- added argument:'tlsKeyFile'; Name of TLS key file, f.e.: privkey.pem
41-
- added argument:'tlsCertFile'; Name of TLS certificate file, f.e.: cert.pem
42-
- splitted the 'logFile' argument in the 'logPath', allowing to modify the location of the log files, and the 'logFile', editable log file name
43-
Moved the default log location outside the bridge source code
44-
- default location path of the log file set to: "/var/log/ibm_bridge_for_grafana"
45-
46-
Expanded test module with more unit tests
47-
48-
Added Wiki link to the README
49-
Improved the documentation about the bridge setup in a cloud native environment(CNSA)
50-
Updated documentation about the bridge configuration using http(ssl) connection
51-
52-
53-
54-
# Version 6.1 (12/10/2020)
55-
56-
Added support for [IBM Spectrum Scale Container Native Storage Access 5.1.0.1](https://www.ibm.com/support/knowledgecenter/STXKQY_CNS_SHR/com.ibm.spectrum.scale.cns.v5r101.doc/introduction.html)
57-
- added example yaml files which can be used to run the bridge in a cloud native environment.
58-
- added example yaml files which can be used to connect the bridge to a Grafana instance running in a cloud native environment.
59-
- added instructions describing how to deploy the bridge in a container running in a k8s/Openshift environment
60-
- added instructions describing how to deploy a Grafana instance via grafana-operator powered by RedHad community in a k8s/Openshift environment
61-
62-
Make cherryPy server settings editable for a user
63-
64-
Added test module for a basic parameter verification with the pytest framework
65-
Enabled source code changes verification using circleCi CI/CD pipeline
66-
67-
68-
69-
# Version 6 (10/20/2020)
70-
71-
Removed python2 support
72-
73-
Added Dockerfile which can be used to run the bridge in a docker container.
74-
Added instructions describing how to build the bridge image and run it in a container
75-
76-
Set default location of the log file: './logs/zserver.log'
77-
78-
Source code refactoring(moved source code and example dashboards to the separate sub-directories)
79-
80-
Fixed the issue "GPFSNSDFS/GPFSNSDPool sensor metrics are not found by the bridge"
81-
82-
83-
84-
# Version 5 (12/01/2019)
85-
86-
Moved the source code & documentation to the IBM GITHUB
87-
88-
Source code refactoring(bridge internal optimization)
89-
- metadata retrieval optimizations (time performance)
90-
91-
92-
93-
# Version 4 (04/08/2019)
94-
95-
Added aggregation support to query interval
96-
- set the query interval automatically to the metric data polling interval if the downsampling is disabled explicitly
97-
- allow usage of AVG, MIN, MAX, SUM aggregators for the downsampled polling intervals
98-
99-
Changed the logic for checking the metric sensor configuration data.
100-
- Reason: GPFSFSInodeCap and GPFSPoolCap are virtual sensors. The config settings for this sensors need to be derived from the sensor GPFSDiskCap.
101-
102-
103-
104-
# Version 3 (08/06/2018)
105-
106-
Added python3.6 support
107-
108-
Source code changes based on [openTSDB datasource](https://github.com/grafana/grafana/tree/master/public/app/plugins/datasource/opentsdb) plugin supported by Grafana
109-
- Query requests and results in [openTSDB API 2.3 supported format](http://opentsdb.net/docs/build/html/api_http/query/index.html)
110-
- Fixed [alias tag issue](https://github.com/grafana/grafana/issues/7560)
111-
112-
Source code changes based on latest configuration updates to IBM Spectrum Scale performance monitoring tool (ZIMon):
113-
- changed '-s --server' option from required to optional. If not specified the server will be automatically set to 'localhost'. \
114-
**NOTE**: Since Spectrum Scale version 5.0.0 the ZImon pmcollector allows query requests, per default, only from local host.
115-
- added vlaidity check for '-P --serverPort'
116-
- added configuration check for multithreaded serverPort. If configured, this will be automatically used for querying pmcollector.
117-
118-
Source code refactoring(bridge internal optimization)
119-
- refactoring of GET, POST Handler result objects (bridge internal)
120-
- metadata retrieval optimizations (time performance)
121-
122-
Improved logging, more options for troubleshooting
123-
- improved trace messages for logging connection issues
124-
- improved trace messages for logging wrong input parameters f.e. tag names, tag values
125-
126-
127-
128-
# Version 2 (05/24/2017)
129-
130-
Added HTTPS(SSL) connection support(via port 8443)
131-
- required [CherryPy version 4.0](download from: https://pypi.python.org/pypi/CherryPy/4.0.0) or higher
132-
- required [SSL private key and certificate](http://cherrypy.readthedocs.io/en/latest/deploy.html#ssl-support) to be generated
133-
- start the bridge with '-k' option (followed by the SSLkey location path) and port 8443 (-p option)
134-
135-
Source code changes based on [openTSDB datasource](https://github.com/grafana/grafana/tree/master/public/app/plugins/datasource/opentsdb) plugin supported by Grafana
136-
- allowing the multiple filters usage in the [lookup](http://opentsdb.net/docs/build/html/api_http/search/lookup.html?) queries
137-
- Query requests and results in [openTSDB API 2.3 query format](http://opentsdb.net/docs/build/html/api_http/query/index.html)
138-
139-
Improved logging, more options for troubleshooting
140-
- added python version, cherryPy version and the list of enabled sensors to the console message during the bridge start
141-
- added trace messages for logging received requests from Grafana and processed queries stored in zserver.log(INFO-level)
142-
- added trace messages for logging process details at different places (DEBUG-level)
143-
- added HTTPError codes to the error trace messages(if the error cause is known)
144-
- cherrypy_access.log enabled (automatically created with the bridge start)
145-
- cherrypy_error.log (automatically created with the bridge start)
146-
147-
Source code refactoring(bridge internal optimization)
148-
- moved to the new QueryHandler(backend query engine)
149-
- metadata retrieval simplification (all methods quering metadata moved to the separate module)
150-
151-
152-
153-
# Version 1 (06/16/2016)
154-
155-
Initial version
1+
# Version 7.0.1 (07/21/2021)
2+
Added support for [IBM Spectrum Scale Container Native Storage Access 5.1.1.1](https://www.ibm.com/support/knowledgecenter/STXKQY_CNS_SHR/com.ibm.spectrum.scale.cns.v5r101.doc/introduction.html)
3+
- updated example deployment yaml files according the API key authentication changes introduced to the IBM Spectrum Scale Performance monitoring tool
4+
Modified config.ini allowing to specify the file path, where the 'apiKeyValue' is stored, instead of entering a key value in this file.
5+
Added the new command line argument'protocol'
6+
- Using this argument the user can decide if the bridge incoming requests should happen over HTTP or HTTPS connection
7+
Removed fixed port numbers for HTTP/HTTPS connections.
8+
- 4242 and 8443 still default ports for the bridge HTTP/HTTPS cnnections, but not fixed anymore.
9+
Added logic to re-attempt to get the MetaData from the pmcollector in case no data have been returned during the bridge start instead of stopping the process directly.
10+
- MAX_RETRY_COUNT = 3
11+
12+
Expanded test module with more unit tests
13+
14+
Tested with Grafana version 7.5.1 and 8.0.3
15+
16+
17+
18+
# Version 7 (04/26/2021)
19+
20+
Added support for [IBM Spectrum Scale 5.1.1](https://www.ibm.com/docs/en/spectrum-scale/5.1.1?topic=summary-changes)
21+
- added IBM Spectrum Scale Performance monitoring API key authentication
22+
- added command line arguments('apiKeyName' and 'apiKeyValue') allowing to submit the API key authentication data at the bridge start
23+
- changed default serverPort to 9980
24+
Added the article "Configuring a performance monitoring API key for the IBM Spectrum Scale Performance Monitoring Bridge" to the Wiki
25+
26+
27+
28+
# Version 6.1.4 (07/21/2021)
29+
30+
Added support for the 'protocol' command line argument.
31+
Removed fixed port numbers for HTTP/HTTPS connections.
32+
33+
Expanded test module with more unit tests
34+
35+
Tested with Grafana 8.0.3 version
36+
37+
38+
39+
# Version 6.1.3 (05/21/2021)
40+
41+
Added support for the 'includeDiskData' command line argument.
42+
- using the 'includeDiskData' option allows to query and fetch data from the archived (on disk data) for better precision.
43+
44+
Expanded test module with more unit tests
45+
46+
Tested with Grafana 7.5.1 version
47+
48+
49+
50+
# Version 6.1.2 (03/20/2021)
51+
52+
Removed the "switching to the multi-threaded zimon port automatically" feature
53+
Added logic closing the socket connection in case the query to the pmcollector ends up in an Exception
54+
Added new "MOREINFO" level to the logger
55+
Added log tracing for the cherrypy server process pid
56+
57+
Expanded test module with unit tests for the bridgeLogger module
58+
59+
60+
61+
# Version 6.1.1 (03/05/2021)
62+
63+
Added version tracking inside the bridge module
64+
Added "config.ini" file with the default configuration settings, which can be updated, saved away and restored by the user
65+
Expanded list of the editable command line arguments
66+
- added argument:'tlsKeyFile'; Name of TLS key file, f.e.: privkey.pem
67+
- added argument:'tlsCertFile'; Name of TLS certificate file, f.e.: cert.pem
68+
- splitted the 'logFile' argument in the 'logPath', allowing to modify the location of the log files, and the 'logFile', editable log file name
69+
Moved the default log location outside the bridge source code
70+
- default location path of the log file set to: "/var/log/ibm_bridge_for_grafana"
71+
72+
Expanded test module with more unit tests
73+
74+
Added Wiki link to the README
75+
Improved the documentation about the bridge setup in a cloud native environment(CNSA)
76+
Updated documentation about the bridge configuration using http(ssl) connection
77+
78+
79+
80+
# Version 6.1 (12/10/2020)
81+
82+
Added support for [IBM Spectrum Scale Container Native Storage Access 5.1.0.1](https://www.ibm.com/support/knowledgecenter/STXKQY_CNS_SHR/com.ibm.spectrum.scale.cns.v5r101.doc/introduction.html)
83+
- added example yaml files which can be used to run the bridge in a cloud native environment.
84+
- added example yaml files which can be used to connect the bridge to a Grafana instance running in a cloud native environment.
85+
- added instructions describing how to deploy the bridge in a container running in a k8s/Openshift environment
86+
- added instructions describing how to deploy a Grafana instance via grafana-operator powered by RedHad community in a k8s/Openshift environment
87+
88+
Make cherryPy server settings editable for a user
89+
90+
Added test module for a basic parameter verification with the pytest framework
91+
Enabled source code changes verification using circleCi CI/CD pipeline
92+
93+
94+
95+
# Version 6 (10/20/2020)
96+
97+
Removed python2 support
98+
99+
Added Dockerfile which can be used to run the bridge in a docker container.
100+
Added instructions describing how to build the bridge image and run it in a container
101+
102+
Set default location of the log file: './logs/zserver.log'
103+
104+
Source code refactoring(moved source code and example dashboards to the separate sub-directories)
105+
106+
Fixed the issue "GPFSNSDFS/GPFSNSDPool sensor metrics are not found by the bridge"
107+
108+
109+
110+
# Version 5 (12/01/2019)
111+
112+
Moved the source code & documentation to the IBM GITHUB
113+
114+
Source code refactoring(bridge internal optimization)
115+
- metadata retrieval optimizations (time performance)
116+
117+
118+
119+
# Version 4 (04/08/2019)
120+
121+
Added aggregation support to query interval
122+
- set the query interval automatically to the metric data polling interval if the downsampling is disabled explicitly
123+
- allow usage of AVG, MIN, MAX, SUM aggregators for the downsampled polling intervals
124+
125+
Changed the logic for checking the metric sensor configuration data.
126+
- Reason: GPFSFSInodeCap and GPFSPoolCap are virtual sensors. The config settings for this sensors need to be derived from the sensor GPFSDiskCap.
127+
128+
129+
130+
# Version 3 (08/06/2018)
131+
132+
Added python3.6 support
133+
134+
Source code changes based on [openTSDB datasource](https://github.com/grafana/grafana/tree/master/public/app/plugins/datasource/opentsdb) plugin supported by Grafana
135+
- Query requests and results in [openTSDB API 2.3 supported format](http://opentsdb.net/docs/build/html/api_http/query/index.html)
136+
- Fixed [alias tag issue](https://github.com/grafana/grafana/issues/7560)
137+
138+
Source code changes based on latest configuration updates to IBM Spectrum Scale performance monitoring tool (ZIMon):
139+
- changed '-s --server' option from required to optional. If not specified the server will be automatically set to 'localhost'. \
140+
**NOTE**: Since Spectrum Scale version 5.0.0 the ZImon pmcollector allows query requests, per default, only from local host.
141+
- added vlaidity check for '-P --serverPort'
142+
- added configuration check for multithreaded serverPort. If configured, this will be automatically used for querying pmcollector.
143+
144+
Source code refactoring(bridge internal optimization)
145+
- refactoring of GET, POST Handler result objects (bridge internal)
146+
- metadata retrieval optimizations (time performance)
147+
148+
Improved logging, more options for troubleshooting
149+
- improved trace messages for logging connection issues
150+
- improved trace messages for logging wrong input parameters f.e. tag names, tag values
151+
152+
153+
154+
# Version 2 (05/24/2017)
155+
156+
Added HTTPS(SSL) connection support(via port 8443)
157+
- required [CherryPy version 4.0](download from: https://pypi.python.org/pypi/CherryPy/4.0.0) or higher
158+
- required [SSL private key and certificate](http://cherrypy.readthedocs.io/en/latest/deploy.html#ssl-support) to be generated
159+
- start the bridge with '-k' option (followed by the SSLkey location path) and port 8443 (-p option)
160+
161+
Source code changes based on [openTSDB datasource](https://github.com/grafana/grafana/tree/master/public/app/plugins/datasource/opentsdb) plugin supported by Grafana
162+
- allowing the multiple filters usage in the [lookup](http://opentsdb.net/docs/build/html/api_http/search/lookup.html?) queries
163+
- Query requests and results in [openTSDB API 2.3 query format](http://opentsdb.net/docs/build/html/api_http/query/index.html)
164+
165+
Improved logging, more options for troubleshooting
166+
- added python version, cherryPy version and the list of enabled sensors to the console message during the bridge start
167+
- added trace messages for logging received requests from Grafana and processed queries stored in zserver.log(INFO-level)
168+
- added trace messages for logging process details at different places (DEBUG-level)
169+
- added HTTPError codes to the error trace messages(if the error cause is known)
170+
- cherrypy_access.log enabled (automatically created with the bridge start)
171+
- cherrypy_error.log (automatically created with the bridge start)
172+
173+
Source code refactoring(bridge internal optimization)
174+
- moved to the new QueryHandler(backend query engine)
175+
- metadata retrieval simplification (all methods quering metadata moved to the separate module)
176+
177+
178+
179+
# Version 1 (06/16/2016)
180+
181+
Initial version

docs/CLASSIC_SETUP.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ Define a new data source (Data Sources -> Add New)
9797

9898
![](/docs/Example_Add_DataSource.png)
9999

100-
**NOTE**: The IBM Spectrum Scale bridge listens on port 4242 for HTTP connections, and on port 8443 for HTTPS(SSL) connections. Follow the instructions [Generate SSL certificates](https://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana/wiki/How-to-setup-HTTPS%28SSL%29-connection-for-the-IBM-Spectrum-Scale-bridge-for-Grafana#generate-ssl-certificates) to generate a private ssl key and a ssl certificate
100+
**NOTE**: Per default the IBM Spectrum Scale bridge listens on port 4242 for HTTP connections. For HTTPS(SSL) connections you need to set the appropriate protocol settings on the bridge start.
101+
Follow the instructions [Generate SSL certificates](https://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana/wiki/How-to-setup-HTTPS%28SSL%29-connection-for-the-IBM-Spectrum-Scale-bridge-for-Grafana#generate-ssl-certificates) to generate a private ssl key and a ssl certificate
102+
103+
101104

102105
Grafana now can talk to Spectrum Scale Performance Monitoring tool via the bridge. Follow the grafana instructions to create dashboards.

docs/RUNNING_AS_DOCKER_CONTAINER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Now you can add the host running the bridge container to the Grafana monitoring
7575
2. Start the bridge running in a container:
7676

7777
```shell
78-
# podman run -dt -p 4242:4242,8443:8443 -e "SERVER=9.XXX.XXX.XXX" -e "APIKEYVALUE=XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" -e "PORT=8443" -e "TLSKEYPATH=/etc/bridge_ssl/certs" -e "TLSKEYFILE=privkey.pem" -e "TLSCERTFILE=cert.pem" \ -v /tmp:/var/log/ibm_bridge_for_grafana -v /etc/bridge_ssl/certs:/etc/bridge_ssl/certs \ --pod new:my-bridge-ssl-test-pod --name bridge-ssl-test bridge_image:latest
78+
# podman run -dt -p 4242:4242,8443:8443 -e "SERVER=9.XXX.XXX.XXX" -e "APIKEYVALUE=XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" -e "PORT=8443" -e "PROTOCOL=https" -e "TLSKEYPATH=/etc/bridge_ssl/certs" -e "TLSKEYFILE=privkey.pem" -e "TLSCERTFILE=cert.pem" \ -v /tmp:/var/log/ibm_bridge_for_grafana -v /etc/bridge_ssl/certs:/etc/bridge_ssl/certs \ --pod new:my-bridge-ssl-test-pod --name bridge-ssl-test bridge_image:latest
7979

8080
# podman logs bridge-ssl-test
8181
2021-04-25 16:05 - INFO - *** IBM Spectrum Scale bridge for Grafana - Version: 7.0 ***

docs/SETUP_SSL_CONNECTION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Openssl will then ask you a series of questions. You can enter whatever values a
2121
Note: The file names for the key and the certificate should be ‘privkey.pem’ and ‘cert.pem’.
2222

2323

24-
3. Start the bridge listening on the socket port 8443. Don't forget to provide the location and the file name of the tls private key and the tls certificate:
24+
3. Start the bridge listening on the socket port 8443 using HTTPS protocol. Don't forget to provide the location and the file name of the tls private key and the tls certificate:
2525

2626
```shell
27-
# python3 zimonGrafanaIntf.py -p 8443 -t /etc/bridge_ssl/certs -k privkey.pem -m cert.pem
27+
# python3 zimonGrafanaIntf.py -p 8443 -r https -t /etc/bridge_ssl/certs -k privkey.pem -m cert.pem
2828
```
2929

3030

docs/SUPPORT_MATRIX.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11
The following matrix gives a quick overview of the supported software for the IBM Spectrum Scale bridge for Grafana packages by version number:
2+
# Version 7.0.1 (07/21/2021)
3+
- Python 3.6
4+
- CherryPy 18.6.0
5+
- IBM Spectrum Scale system must run 5.1.1 and above or
6+
- IBM Spectrum Scale Container Native Storage Access(CNSA) devices having minReleaseLevel 5.1.1.1
7+
- Grafana 7.5.0 and above
8+
29
# Version 7 (04/26/2021)
310
- Python 3.6
411
- CherryPy 18.6.0
512
- IBM Spectrum Scale system must run 5.1.1 and above
613
- Grafana 7.1.0 and above
714

15+
# Version 6.1.4 (07/21/2021)
16+
- Python 3.6
17+
- CherryPy 18.6.0
18+
- IBM Spectrum Scale system must run 5.1.0.3 and above or
19+
- IBM Spectrum Scale Container Native Storage Access(CNSA) devices having minReleaseLevel 5.1.0.1
20+
- Grafana 8.0.0 and above
21+
822
# Version 6.1.3 (05/21/2021)
923
- Python 3.6
1024
- CherryPy 18.6.0

0 commit comments

Comments
 (0)