Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update telemetry logfile path for pxc docker image #1030

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion percona-xtradb-cluster-8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ RUN set -ex; \
chown mysql /usr/bin/telemetry-agent-supervisor.sh; \
chown mysql /usr/bin/percona-telemetry-agent; \
chown mysql /usr/local/percona/telemetry/history; \
chown -R mysql /var/log/percona/telemetry-agent; \
chown -R mysql /var/log/percona; \
chmod ug+rwx /usr/bin/telemetry-agent-supervisor.sh
ENV PERCONA_TELEMETRY_CHECK_INTERVAL=86400
ENV PERCONA_TELEMETRY_HISTORY_KEEP_INTERVAL=604800
Expand Down
2 changes: 1 addition & 1 deletion percona-xtradb-cluster-8.0/telemetry-agent-supervisor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# phase-1 telemetry
for i in {1..3}; do
/usr/bin/percona-telemetry-agent >> /var/log/percona/telemetry-agent/telemetry-agent.log 2>> /var/log/percona/telemetry-agent/telemetry-agent-error.log
/usr/bin/percona-telemetry-agent >> /var/log/percona/telemetry-agent.log 2>> /var/log/percona/telemetry-agent-error.log
if [ $? -eq 0 ]; then
break
fi
Expand Down
Loading