File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,16 @@ unsafe fn try_to_endpoint(endpoint: Endpoint) -> anyhow::Result<exporter::Endpoi
113
113
}
114
114
}
115
115
116
+ /// Creates a new exporter to be used to report profiling data.
117
+ /// # Arguments
118
+ /// * `profiling_library_name` - Profiling library name, usually dd-trace-something, e.g. "dd-trace-rb". See
119
+ /// https://datadoghq.atlassian.net/wiki/spaces/PROF/pages/1538884229/Client#Header-values (Datadog internal link)
120
+ /// for a list of common values.
121
+ /// * `profliling_library_version` - Version used when publishing the profiling library to a package manager
122
+ /// * `family` - Profile family, e.g. "ruby"
123
+ /// * `tags` - Tags to include with every profile reported by this exporter. It's also possible to include
124
+ /// profile-specific tags, see `additional_tags` on `profile_exporter_build`.
125
+ /// * `endpoint` - Configuration for reporting data
116
126
#[ must_use]
117
127
#[ export_name = "ddog_ProfileExporter_new" ]
118
128
pub extern "C" fn profile_exporter_new (
Original file line number Diff line number Diff line change @@ -113,6 +113,16 @@ impl Request {
113
113
}
114
114
115
115
impl ProfileExporter {
116
+ /// Creates a new exporter to be used to report profiling data.
117
+ /// # Arguments
118
+ /// * `profiling_library_name` - Profiling library name, usually dd-trace-something, e.g. "dd-trace-rb". See
119
+ /// https://datadoghq.atlassian.net/wiki/spaces/PROF/pages/1538884229/Client#Header-values (Datadog internal link)
120
+ /// for a list of common values.
121
+ /// * `profliling_library_version` - Version used when publishing the profiling library to a package manager
122
+ /// * `family` - Profile family, e.g. "ruby"
123
+ /// * `tags` - Tags to include with every profile reported by this exporter. It's also possible to include
124
+ /// profile-specific tags, see `additional_tags` on `build`.
125
+ /// * `endpoint` - Configuration for reporting data
116
126
pub fn new < F , N , V > (
117
127
profiling_library_name : N ,
118
128
profiling_library_version : V ,
You can’t perform that action at this time.
0 commit comments