Skip to content

Commit b0d16dc

Browse files
committed
chore: pre-release upgrade to upload-artifact v4
1 parent 9551c04 commit b0d16dc

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,12 @@ jobs:
3737
run: echo "${{ needs.calculate-tag.outputs.tag }}" | sed s/v//g > VERSION
3838
- name: Package
3939
run: make crossbuild-tarballs
40-
- name: print
41-
run: ls -lart .tarballs
4240
- name: Archive artifacts
43-
uses: actions/upload-artifact@v3
41+
uses: actions/upload-artifact@v4
4442
with:
4543
name: tarballs
46-
path: .tarballs/postgres_exporter*
44+
include-hidden-files: true
45+
path: ./.tarballs/*.tar.gz
4746

4847
commit-message:
4948
runs-on: ubuntu-latest
@@ -69,7 +68,7 @@ jobs:
6968
if: contains(needs.commit-message.outputs.head-commit-message, 'pre-release') || startsWith(github.ref, 'refs/tags')
7069
steps:
7170
- name: Download artifacts
72-
uses: actions/download-artifact@v3
71+
uses: actions/download-artifact@v4
7372
with:
7473
name: tarballs
7574
- name: Create GH release

collector/pg_stat_statements_summary.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ func NewPGStatStatementsSummaryCollector(config collectorConfig) (Collector, err
3737

3838
var (
3939
statSTatementsSummaryCallsTotal = prometheus.NewDesc(
40-
prometheus.BuildFQName(namespace, statStatementsSubsystem, "calls_total"),
40+
prometheus.BuildFQName(namespace, statStatementsSummarySubsystem, "calls_total"),
4141
"Number of times executed",
4242
[]string{"datname"},
4343
prometheus.Labels{},
4444
)
4545
statStatementsSummarySecondsTotal = prometheus.NewDesc(
46-
prometheus.BuildFQName(namespace, statStatementsSubsystem, "seconds_total"),
46+
prometheus.BuildFQName(namespace, statStatementsSummarySubsystem, "seconds_total"),
4747
"Total time spent in the statement, in seconds",
4848
[]string{"datname"},
4949
prometheus.Labels{},

0 commit comments

Comments
 (0)