diff --git a/man/systemd-report.xml b/man/systemd-report.xml index 560d940624..560d21c347 100644 --- a/man/systemd-report.xml +++ b/man/systemd-report.xml @@ -88,8 +88,8 @@ to an external server. Two upload mechanisms are supported. If an http:// or https:// URL is specified with , an HTTP upload will be performed to the specified location. Otherwise, any sockets under - /run/systemd/metrics-upload/ will be used to call - io.systemd.Report.Upload(). + /run/systemd/report.upload/ will be used to call + io.systemd.Report.Uploader.Upload(). Match expressions supported by metrics are supported here too. diff --git a/src/report/report-upload.c b/src/report/report-upload.c index aea12e62a5..02f15cba61 100644 --- a/src/report/report-upload.c +++ b/src/report/report-upload.c @@ -249,7 +249,7 @@ static int upload_collected(Context *context, sd_json_variant *report) { ssize_t jobs = varlink_execute_directory( REPORT_UPLOAD_DIR, - "io.systemd.Report.Upload", + "io.systemd.Report.Uploader.Upload", params, /* more= */ false, arg_network_timeout_usec, diff --git a/src/report/report.h b/src/report/report.h index 196a3daf57..3431755233 100644 --- a/src/report/report.h +++ b/src/report/report.h @@ -9,7 +9,7 @@ #define REPORT_CERT_FILE CERTIFICATE_ROOT "/certs/systemd-report.pem" #define REPORT_TRUST_FILE CERTIFICATE_ROOT "/ca/trusted.pem" -#define REPORT_UPLOAD_DIR "/run/systemd/metrics-upload" +#define REPORT_UPLOAD_DIR "/run/systemd/report.upload" extern sd_json_format_flags_t arg_json_format_flags; extern char *arg_url, *arg_key, *arg_cert, *arg_trust;