MySQL 9.7.0
Source Code Documentation
tm_required_services.h
Go to the documentation of this file.
1/*
2 Copyright (c) 2022, 2026, Oracle and/or its affiliates.
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License, version 2.0,
6 as published by the Free Software Foundation.
7
8 This program is designed to work with certain software (including
9 but not limited to OpenSSL) that is licensed under separate terms,
10 as designated in a particular file or component or in included license
11 documentation. The authors of MySQL hereby grant you an additional
12 permission to link the program and your derivative works with the
13 separately licensed software that they have either included with
14 the program or referenced in the documentation.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License, version 2.0, for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24*/
25
26#ifndef TELEMETRY_REQUIRED_SERVICES_H_INCLUDED
27#define TELEMETRY_REQUIRED_SERVICES_H_INCLUDED
28
50
53
54namespace telemetry {
55
56extern REQUIRES_SERVICE_PLACEHOLDER_AS(status_variable_registration,
58extern REQUIRES_SERVICE_PLACEHOLDER_AS(component_sys_variable_register,
59 sysvar_register_srv);
60extern REQUIRES_SERVICE_PLACEHOLDER_AS(component_sys_variable_unregister,
61 sysvar_unregister_srv);
62extern REQUIRES_SERVICE_PLACEHOLDER_AS(log_builtins, log_srv);
63extern REQUIRES_SERVICE_PLACEHOLDER_AS(log_builtins_string, log_string_srv);
64extern REQUIRES_SERVICE_PLACEHOLDER_AS(pfs_notification_v3, notification_srv);
67extern REQUIRES_SERVICE_PLACEHOLDER_AS(mysql_connection_attributes_iterator,
68 con_attr_srv);
69extern REQUIRES_SERVICE_PLACEHOLDER_AS(mysql_thd_store, thd_store_srv);
70extern REQUIRES_SERVICE_PLACEHOLDER_AS(mysql_server_telemetry_traces_v1,
71 telemetry_traces_srv);
72extern REQUIRES_SERVICE_PLACEHOLDER_AS(mysql_server_telemetry_metrics_v1,
73 telemetry_metrics_srv);
74extern REQUIRES_SERVICE_PLACEHOLDER_AS(mysql_server_telemetry_logs,
75 telemetry_logs_srv);
76extern REQUIRES_SERVICE_PLACEHOLDER_AS(mysql_query_attributes_iterator,
77 qa_iter_srv);
79 qa_string_srv);
80extern REQUIRES_SERVICE_PLACEHOLDER_AS(mysql_string_get_data_in_charset,
81 string_get_data_srv);
82extern REQUIRES_SERVICE_PLACEHOLDER_AS(mysql_string_factory,
83 string_factory_srv);
84extern REQUIRES_SERVICE_PLACEHOLDER_AS(mysql_string_converter,
85 string_converter_srv);
86extern REQUIRES_SERVICE_PLACEHOLDER_AS(mysql_cond_v1, cond_srv);
87extern REQUIRES_SERVICE_PLACEHOLDER_AS(mysql_mutex_v1, mutex_srv);
88extern REQUIRES_SERVICE_PLACEHOLDER_AS(psi_metric_v1, metric_srv);
89extern REQUIRES_SERVICE_PLACEHOLDER_AS(psi_stage_v1, stage_srv);
90extern REQUIRES_SERVICE_PLACEHOLDER_AS(psi_thread_v7, thread_srv);
91extern REQUIRES_SERVICE_PLACEHOLDER_AS(psi_idle_v1, idle_srv);
92extern REQUIRES_SERVICE_PLACEHOLDER_AS(registry_registration, reg_reg);
94} // namespace telemetry
95
96#endif /* TELEMETRY_REQUIRED_SERVICES_H_INCLUDED */
Specifies macros to define Components.
static char * mysql_query_attribute_string(UDF_INIT *initid, UDF_ARGS *args, char *result, unsigned long *length, unsigned char *is_null, unsigned char *error)
Definition: query_attributes.cc:52
Connection event tracking.
mysql_service_registry_registration_t * reg_reg
Definition: components.cc:48
Definition: option_usage.cc:40
REQUIRES_SERVICE_PLACEHOLDER_AS(status_variable_registration, statvar_register_srv)
const mysql_service_status_variable_registration_t * statvar_register_srv
const mysql_service_mysql_current_thread_reader_t * current_thd_srv
const mysql_service_mysql_current_thread_reader_t * mysql_current_thread_reader
Definition: rewriter_plugin.cc:63
Specifies macros to define Service Implementations.
static const mysql_service_registry_t * reg_srv
Initialize parameters required for error logging.
Definition: test_plugin.cc:62