1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Zipkin and Jaeger support

This commit is contained in:
Quentin Gliech
2021-10-14 19:38:57 +02:00
parent f016019553
commit cf8793da27
4 changed files with 348 additions and 19 deletions

View File

@@ -12,10 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use std::net::SocketAddr;
use async_trait::async_trait;
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use serde_with::skip_serializing_none;
use url::Url;
use super::ConfigurationSection;
@@ -38,7 +41,15 @@ pub enum TracingExporterConfig {
Stdout,
Otlp {
#[serde(default)]
endpoint: Option<url::Url>,
endpoint: Option<Url>,
},
Jaeger {
#[serde(default)]
agent_endpoint: Option<SocketAddr>,
},
Zipkin {
#[serde(default)]
collector_endpoint: Option<Url>,
},
}