Skip to content

Commit 493febe

Browse files
authored
Updates for 2.0.2 release (#270)
* udpate go version * update prom * update oci sdk * update tpl --------- Signed-off-by: Mark Nelson <[email protected]>
1 parent 2ba7806 commit 493febe

File tree

8 files changed

+18
-13
lines changed

8 files changed

+18
-13
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ ARG GOARCH
88
ENV GOARCH=${GOARCH:-amd64}
99

1010
RUN microdnf install wget gzip gcc && \
11-
wget -q https://go.dev/dl/go1.23.8.${GOOS}-${GOARCH}.tar.gz && \
11+
wget -q https://go.dev/dl/go1.23.10.${GOOS}-${GOARCH}.tar.gz && \
1212
rm -rf /usr/local/go && \
13-
tar -C /usr/local -xzf go1.23.8.${GOOS}-${GOARCH}.tar.gz && \
14-
rm go1.23.8.${GOOS}-${GOARCH}.tar.gz
13+
tar -C /usr/local -xzf go1.23.10.${GOOS}-${GOARCH}.tar.gz && \
14+
rm go1.23.10.${GOOS}-${GOARCH}.tar.gz
1515

1616
ENV PATH=$PATH:/usr/local/go/bin
1717

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ OS_TYPE ?= $(shell uname -s | tr '[:upper:]' '[:lower:]')
33
ARCH_TYPE ?= $(subst x86_64,amd64,$(patsubst i%86,386,$(ARCH)))
44
GOOS ?= $(shell go env GOOS)
55
GOARCH ?= $(shell go env GOARCH)
6-
VERSION ?= 2.0.1
6+
VERSION ?= 2.0.2
77
LDFLAGS := -X main.Version=$(VERSION)
88
GOFLAGS := -ldflags "$(LDFLAGS) -s -w"
99
BUILD_ARGS = --build-arg VERSION=$(VERSION)

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Contributions are welcome - please see [contributing](CONTRIBUTING.md).
5353

5454
| Release | Date | Changelog |
5555
|---------|----------------------|-----------------------------------------------------------------|
56+
| 2.0.2 | June 24, 2025 | [2.0.2 Changelog](./changelog.md#version-202-june-24-2025) |
5657
| 2.0.1 | June 12, 2025 | [2.0.1 Changelog](./changelog.md#version-201-june-12-2025) |
5758
| 2.0.0 | May 27, 2025 | [2.0.0 Changelog](./changelog.md#version-200-may-27-2025) |
5859
| 1.6.1 | May 2, 2025 | [1.6.1 Changelog](./changelog.md#version-161-may-2-2025) |
@@ -402,7 +403,7 @@ docker run -it --rm \
402403
-e DB_PASSWORD=Welcome12345 \
403404
-e DB_CONNECT_STRING=free23ai:1521/freepdb \
404405
-p 9161:9161 \
405-
container-registry.oracle.com/database/observability-exporter:2.0.1
406+
container-registry.oracle.com/database/observability-exporter:2.0.2
406407
```
407408

408409
##### Using a wallet
@@ -448,7 +449,7 @@ docker run -it --rm \
448449
-e DB_CONNECT_STRING=devdb_tp \
449450
-v ./wallet:/wallet \
450451
-p 9161:9161 \
451-
container-registry.oracle.com/database/observability-exporter:2.0.1
452+
container-registry.oracle.com/database/observability-exporter:2.0.2
452453
```
453454
> **Note:** If you are using `podman` you must specify the `:z` suffix on the volume mount so that the container will be able to access the files in the volume. For example: `-v ./wallet:/wallet:z`
454455

@@ -999,7 +1000,7 @@ An exmaple of [custom metrics for Transacational Event Queues](./custom-metrics-
9991000
If you run the exporter as a container image and want to include your custom metrics in the image itself, you can use the following example `Dockerfile` to create a new image:
10001001
10011002
```Dockerfile
1002-
FROM container-registry.oracle.com/database/observability-exporter:2.0.1
1003+
FROM container-registry.oracle.com/database/observability-exporter:2.0.2
10031004
COPY custom-metrics.toml /
10041005
ENTRYPOINT ["/oracledb_exporter", "--custom.metrics", "/custom-metrics.toml"]
10051006
```

THIRD_PARTY_LICENSES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1447,4 +1447,4 @@ SOFTWARE.
14471447

14481448
=== ATTRIBUTION-HELPER-GENERATED:
14491449
=== Attribution helper version: {Major:0 Minor:11 GitVersion:0.10.0-116-g2a434e4d-dirty GitCommit:2a434e4d7eea22d4dfd2d1cf04909239d05562b1 GitTreeState:dirty BuildDate:2025-04-29T00:30:45Z GoVersion:go1.22.4 Compiler:gc Platform:linux/amd64}
1450-
=== License file based on go.mod with md5 sum: 15979ec9beb851f5e9b7b1e60a196993
1450+
=== License file based on go.mod with md5 sum: 58adc57ce145a7af310f946bddb27b7e

docker-compose/compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ services:
5959
start_period: 30s
6060

6161
exporter:
62-
image: container-registry.oracle.com/database/observability-exporter:2.0.1
62+
image: container-registry.oracle.com/database/observability-exporter:2.0.2
6363
container_name: exporter
6464
command:
6565
- '--config.file=/exporter/config.yaml'

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
module github.com/oracle/oracle-db-appdev-monitoring
22

3-
go 1.23.8
3+
go 1.23.10
44

55
require (
66
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.10.1
77
github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets v0.12.0
88
github.com/BurntSushi/toml v1.5.0
99
github.com/alecthomas/kingpin/v2 v2.4.0
1010
github.com/godror/godror v0.48.3
11-
github.com/oracle/oci-go-sdk/v65 v65.93.1
11+
github.com/oracle/oci-go-sdk/v65 v65.93.2
1212
github.com/prometheus/client_golang v1.22.0
13-
github.com/prometheus/common v0.64.0
13+
github.com/prometheus/common v0.65.0
1414
github.com/prometheus/exporter-toolkit v0.14.0
1515
)
1616

go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ github.com/oracle/oci-go-sdk/v65 v65.91.1 h1:jRE4jUiJd+sDhJTyTCXIJdzLjTx+99gA3Pg
110110
github.com/oracle/oci-go-sdk/v65 v65.91.1/go.mod h1:u6XRPsw9tPziBh76K7GrrRXPa8P8W3BQeqJ6ZZt9VLA=
111111
github.com/oracle/oci-go-sdk/v65 v65.93.1 h1:lIvy/6aQOUenQI+cxXH1wDBJeXFPO9Du3CaomXeYFaY=
112112
github.com/oracle/oci-go-sdk/v65 v65.93.1/go.mod h1:u6XRPsw9tPziBh76K7GrrRXPa8P8W3BQeqJ6ZZt9VLA=
113+
github.com/oracle/oci-go-sdk/v65 v65.93.2 h1:Nu/yrxB8FS7Ns0QQm0cYcQN2ViZ3+g5qHfOIh4l/2BU=
114+
github.com/oracle/oci-go-sdk/v65 v65.93.2/go.mod h1:u6XRPsw9tPziBh76K7GrrRXPa8P8W3BQeqJ6ZZt9VLA=
113115
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ=
114116
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c/go.mod h1:7rwL4CYBLnjLxUqIJNnCWiEdr3bn6IUYi15bNlnbCCU=
115117
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
@@ -128,6 +130,8 @@ github.com/prometheus/common v0.63.0 h1:YR/EIY1o3mEFP/kZCD7iDMnLPlGyuU2Gb3HIcXnA
128130
github.com/prometheus/common v0.63.0/go.mod h1:VVFF/fBIoToEnWRVkYoXEkq3R3paCoxG9PXP74SnV18=
129131
github.com/prometheus/common v0.64.0 h1:pdZeA+g617P7oGv1CzdTzyeShxAGrTBsolKNOLQPGO4=
130132
github.com/prometheus/common v0.64.0/go.mod h1:0gZns+BLRQ3V6NdaerOhMbwwRbNh9hkGINtQAsP5GS8=
133+
github.com/prometheus/common v0.65.0 h1:QDwzd+G1twt//Kwj/Ww6E9FQq1iVMmODnILtW1t2VzE=
134+
github.com/prometheus/common v0.65.0/go.mod h1:0gZns+BLRQ3V6NdaerOhMbwwRbNh9hkGINtQAsP5GS8=
131135
github.com/prometheus/exporter-toolkit v0.14.0 h1:NMlswfibpcZZ+H0sZBiTjrA3/aBFHkNZqE+iCj5EmRg=
132136
github.com/prometheus/exporter-toolkit v0.14.0/go.mod h1:Gu5LnVvt7Nr/oqTBUC23WILZepW0nffNo10XdhQcwWA=
133137
github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc=

kubernetes/metrics-exporter-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
spec:
1818
containers:
1919
- name: metrics-exporter
20-
image: container-registry.oracle.com/database/observability-exporter:2.0.1
20+
image: container-registry.oracle.com/database/observability-exporter:2.0.2
2121
imagePullPolicy: Always
2222
command: ["/oracledb_exporter"]
2323
args: ["--config.file=/config/metrics-exporter-config.yaml"]

0 commit comments

Comments
 (0)