Skip to content

Commit

Permalink
Release 0.7.0 (#50)
Browse files Browse the repository at this point in the history
First prometheus-community release.

* [FEATURE] Add various new metrics #14
* [BUGFIX] Fix exit code bit parsing #37

Signed-off-by: SuperQ <superq@gmail.com>
  • Loading branch information
SuperQ authored Aug 5, 2022
1 parent d33d18e commit 920c342
Show file tree
Hide file tree
Showing 11 changed files with 134 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
executor: golang
steps:
- prometheus/setup_environment
- run: make style lint yamllint unused build test
- run: make
- prometheus/store_artifact:
file: smartctl_exporter
codespell:
Expand Down
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## 0.7.0 / 2022-08-05

First prometheus-community release.

* [FEATURE] Add various new metrics #14
* [BUGFIX] Return the cached value if it's not time to scan again yet #18
* [BUGFIX] Fix exit code bit parsing #37

## 0.6.0 / 2020-10-29

* Parsing smartctl return code and collect metrics if no errors
* Parsing smartctl messages and collect metrics if no errors

## 0.5.0 / 2019-08-17

* smartctl_device: Device info
* smartctl_device_attribute: Device attributes
* smartctl_device_block_size: Device block size
* smartctl_device_capacity_blocks: Device capacity in blocks
* smartctl_device_capacity_bytes: Device capacity in bytes
* smartctl_device_interface_speed: Device interface speed, bits per second
* smartctl_device_power_cycle_count: Device power cycle count
* smartctl_device_power_on_seconds: Device power on seconds
* smartctl_device_rotation_rate: Device rotation rate
* smartctl_device_smartctl_exit_status: Exit status of smartctl on device
* smartctl_device_statistics: Device statistics
* smartctl_device_temperature: Device temperature celsius
* smartctl_version: smartctl version
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.7.0
13 changes: 13 additions & 0 deletions gjsonext.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
// Copyright 2022 The Prometheus Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package main

import (
Expand Down
13 changes: 13 additions & 0 deletions logging.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
// Copyright 2022 The Prometheus Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package main

import (
Expand Down
13 changes: 13 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
// Copyright 2022 The Prometheus Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package main

import (
Expand Down
13 changes: 13 additions & 0 deletions metrics.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
// Copyright 2022 The Prometheus Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package main

import (
Expand Down
13 changes: 13 additions & 0 deletions options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
// Copyright 2022 The Prometheus Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package main

import (
Expand Down
13 changes: 13 additions & 0 deletions readjson.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
// Copyright 2022 The Prometheus Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package main

import (
Expand Down
13 changes: 13 additions & 0 deletions smartctl.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
// Copyright 2022 The Prometheus Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package main

import (
Expand Down
13 changes: 13 additions & 0 deletions smartctlinfo.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
// Copyright 2022 The Prometheus Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package main

import (
Expand Down

0 comments on commit 920c342

Please sign in to comment.