Commit 4879e9c 1 parent 61d32c9 commit 4879e9c Copy full SHA for 4879e9c
File tree 7 files changed +14
-7
lines changed
7 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -52,4 +52,5 @@ install -m 0660 example-queries-postgres.yml $RPM_BUILD_ROOT/usr/local/percona/p
52
52
install -m 0660 example-queries-postgres.yml $RPM_BUILD_ROOT /usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
53
53
install -m 0660 example-queries-postgres.yml $RPM_BUILD_ROOT /usr/local/percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
54
54
install -m 0660 queries-postgres-uptime.yml $RPM_BUILD_ROOT /usr/local/percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
55
- install -m 0660 queries.yaml $RPM_BUILD_ROOT /usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
55
+ install -m 0660 queries-mr.yaml $RPM_BUILD_ROOT /usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
56
+ install -m 0660 queries-lr.yaml $RPM_BUILD_ROOT /usr/local/percona/pmm2/collectors/custom-queries/postgresql/low-resolution/
Original file line number Diff line number Diff line change @@ -23,4 +23,5 @@ example-queries-postgres.yml /usr/local/percona/pmm2/collectors/custom-queries/p
23
23
example-queries-postgres.yml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
24
24
example-queries-postgres.yml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
25
25
queries-postgres-uptime.yml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
26
- queries.yaml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
26
+ queries-mr.yaml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
27
+ queries-lr.yaml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/low-resolution/
Original file line number Diff line number Diff line change @@ -62,7 +62,8 @@ override_dh_auto_install:
62
62
cp -f distro/queries-mysqld-group-replication.yml $(TMP ) /queries-mysqld-group-replication.yml
63
63
cp -f distro/example-queries-postgres.yml $(TMP ) /example-queries-postgres.yml
64
64
cp -f distro/queries-postgres-uptime.yml $(TMP ) /queries-postgres-uptime.yml
65
- cp -f distro/queries.yaml $(TMP ) /queries.yaml
65
+ cp -f distro/queries-mr.yaml $(TMP ) /queries-mr.yaml
66
+ cp -f distro/queries-lr.yaml $(TMP ) /queries-lr.yaml
66
67
cp -f distro/pt-summary $(TMP ) /pt-summary
67
68
cp -f distro/pt-mysql-summary $(TMP ) /pt-mysql-summary
68
69
cp -f distro/pt-mongodb-summary $(TMP ) /pt-mongodb-summary
Original file line number Diff line number Diff line change @@ -86,7 +86,8 @@ install -m 0660 example-queries-postgres.yml $RPM_BUILD_ROOT/usr/local/percona/p
86
86
install -m 0660 example-queries-postgres.yml $RPM_BUILD_ROOT/usr/local /percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
87
87
install -m 0660 example-queries-postgres.yml $RPM_BUILD_ROOT/usr/local /percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
88
88
install -m 0660 queries-postgres-uptime.yml $RPM_BUILD_ROOT/usr/local /percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
89
- install -m 0660 queries.yaml $RPM_BUILD_ROOT/usr/local /percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
89
+ install -m 0660 queries-mr.yaml $RPM_BUILD_ROOT/usr/local /percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
90
+ install -m 0660 queries-lr.yaml $RPM_BUILD_ROOT/usr/local /percona/pmm2/collectors/custom-queries/postgresql/low-resolution/
90
91
install -m 0755 -d $RPM_BUILD_ROOT/%{_unitdir }
91
92
install -m 0644 config/pmm-agent.service %{buildroot }/%{_unitdir }/pmm-agent.service
92
93
Original file line number Diff line number Diff line change @@ -119,7 +119,8 @@ main() {
119
119
copy_component " mysqld_exporter" " queries-mysqld-group-replication.yml"
120
120
copy_component " postgres_exporter" " example-queries-postgres.yml"
121
121
copy_component " postgres_exporter" " queries-postgres-uptime.yml"
122
- copy_component " postgres_exporter" " queries.yaml"
122
+ copy_component " postgres_exporter" " queries-mr.yaml"
123
+ copy_component " postgres_exporter" " queries-lr.yaml"
123
124
124
125
copy_component " percona-toolkit" " bin/pt-summary"
125
126
copy_component " percona-toolkit" " bin/pt-mysql-summary"
Original file line number Diff line number Diff line change @@ -360,7 +360,8 @@ build_source_deb(){
360
360
mv queries-mysqld-group-replication.yml ../${NAME} -${VERSION} _all/distro/
361
361
mv example-queries-postgres.yml ../${NAME} -${VERSION} _all/distro/
362
362
mv queries-postgres-uptime.yml ../${NAME} -${VERSION} _all/distro/
363
- mv queries.yaml ../${NAME} -${VERSION} _all/distro/
363
+ mv queries-mr.yaml ../${NAME} -${VERSION} _all/distro/
364
+ mv queries-lr.yaml ../${NAME} -${VERSION} _all/distro/
364
365
mv debian ../${NAME} -${VERSION} _all/
365
366
mv config/pmm-agent.service ../${NAME} -${VERSION} _all/debian/pmm2-client.pmm-agent.service
366
367
cd ../
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ ${INSTALL_COMMAND} -m 0755 -d "${PMM_DIR}"/collectors/custom-queries/postgresql/
39
39
${INSTALL_COMMAND} -m 0755 -d " ${PMM_DIR} " /collectors/custom-queries/postgresql/medium-resolution
40
40
${INSTALL_COMMAND} -m 0755 -d " ${PMM_DIR} " /collectors/custom-queries/postgresql/high-resolution
41
41
${INSTALL_COMMAND} -m 0755 queries-postgres-uptime.yml " ${PMM_DIR} " /collectors/custom-queries/postgresql/high-resolution
42
- ${INSTALL_COMMAND} -m 0755 queries.yaml " ${PMM_DIR} " /collectors/custom-queries/postgresql/medium-resolution
42
+ ${INSTALL_COMMAND} -m 0755 queries-mr.yaml " ${PMM_DIR} " /collectors/custom-queries/postgresql/medium-resolution
43
+ ${INSTALL_COMMAND} -m 0755 queries-lr.yaml " ${PMM_DIR} " /collectors/custom-queries/postgresql/low-resolution
43
44
${INSTALL_COMMAND} -m 0755 queries-mysqld-group-replication.yml " ${PMM_DIR} " /collectors/custom-queries/mysql/high-resolution
44
45
45
46
for FILE in $( ls ${PWD} /bin ) ; do
You can’t perform that action at this time.
0 commit comments