Skip to content

Commit

Permalink
PMM-9407 Add queries.yaml to debian package to postgres medium-resolu…
Browse files Browse the repository at this point in the history
…tion path
  • Loading branch information
surbhat1595 committed Dec 14, 2023
1 parent 7250704 commit a60b825
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/packages/deb/files
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ install -m 0660 example-queries-postgres.yml $RPM_BUILD_ROOT/usr/local/percona/p
install -m 0660 example-queries-postgres.yml $RPM_BUILD_ROOT/usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
install -m 0660 example-queries-postgres.yml $RPM_BUILD_ROOT/usr/local/percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
install -m 0660 queries-postgres-uptime.yml $RPM_BUILD_ROOT/usr/local/percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
install -m 0660 queries.yaml $RPM_BUILD_ROOT/usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
1 change: 1 addition & 0 deletions build/packages/deb/install
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ example-queries-postgres.yml /usr/local/percona/pmm2/collectors/custom-queries/p
example-queries-postgres.yml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
example-queries-postgres.yml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
queries-postgres-uptime.yml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
queries.yaml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
1 change: 1 addition & 0 deletions build/packages/deb/rules
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ override_dh_auto_install:
cp -f distro/queries-mysqld-group-replication.yml $(TMP)/queries-mysqld-group-replication.yml
cp -f distro/example-queries-postgres.yml $(TMP)/example-queries-postgres.yml
cp -f distro/queries-postgres-uptime.yml $(TMP)/queries-postgres-uptime.yml
cp -f distro/queries.yaml $(TMP)/queries.yaml
cp -f distro/pt-summary $(TMP)/pt-summary
cp -f distro/pt-mysql-summary $(TMP)/pt-mysql-summary
cp -f distro/pt-mongodb-summary $(TMP)/pt-mongodb-summary
Expand Down
1 change: 1 addition & 0 deletions build/scripts/build-client-packages
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ build_source_deb(){
mv queries-mysqld-group-replication.yml ../${NAME}-${VERSION}_all/distro/
mv example-queries-postgres.yml ../${NAME}-${VERSION}_all/distro/
mv queries-postgres-uptime.yml ../${NAME}-${VERSION}_all/distro/
mv queries.yaml ../${NAME}-${VERSION}_all/distro/
mv debian ../${NAME}-${VERSION}_all/
mv config/pmm-agent.service ../${NAME}-${VERSION}_all/debian/pmm2-client.pmm-agent.service
cd ../
Expand Down

0 comments on commit a60b825

Please sign in to comment.