You've already forked authentication-service
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:
@@ -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>,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user