mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-06 16:09:41 +00:00
This ads support for sourcemaps in RUM Design at : https://github.com/openobserve/designs/blob/main/application-monitoring/rum/sourcemap-be.md --------- Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com> Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com> Co-authored-by: sai nikhil kethe <nikhil@openobserve.ai> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
82 lines
2.1 KiB
Rust
82 lines
2.1 KiB
Rust
// Copyright 2025 OpenObserve Inc.
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU Affero General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU Affero General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
use serde::{Deserialize, Serialize};
|
|
use utoipa::ToSchema;
|
|
|
|
#[cfg(feature = "enterprise")]
|
|
pub mod action_server;
|
|
pub mod actions;
|
|
#[cfg(feature = "enterprise")]
|
|
pub mod ai;
|
|
pub mod alerts;
|
|
#[cfg(feature = "enterprise")]
|
|
pub mod anomaly_detection;
|
|
pub mod authz;
|
|
#[cfg(feature = "cloud")]
|
|
pub mod cloud;
|
|
pub mod clusters;
|
|
pub mod dashboards;
|
|
#[cfg(feature = "enterprise")]
|
|
pub mod domain_management;
|
|
pub mod enrichment_table;
|
|
#[allow(deprecated)]
|
|
pub mod folders;
|
|
pub mod functions;
|
|
pub mod keys;
|
|
pub mod kv;
|
|
#[cfg(feature = "enterprise")]
|
|
pub mod license;
|
|
pub mod logs;
|
|
pub mod mcp;
|
|
pub mod metrics;
|
|
pub mod organization;
|
|
pub mod patterns;
|
|
pub mod pipeline;
|
|
pub mod pipelines;
|
|
#[cfg(feature = "profiling")]
|
|
pub mod profiling;
|
|
pub mod promql;
|
|
pub mod ratelimit;
|
|
#[cfg(feature = "enterprise")]
|
|
pub mod re_pattern;
|
|
pub mod rum;
|
|
pub mod search;
|
|
pub mod service_accounts;
|
|
pub mod service_streams;
|
|
pub mod short_url;
|
|
pub mod sourcemaps;
|
|
pub mod status;
|
|
pub mod stream;
|
|
pub mod traces;
|
|
pub mod users;
|
|
|
|
pub const CONTENT_TYPE_JSON: &str = "application/json";
|
|
pub const CONTENT_TYPE_PROTO: &str = "application/x-protobuf";
|
|
|
|
// these are the common bulk delete req/res structs
|
|
|
|
#[derive(Clone, Debug, Serialize, Deserialize, ToSchema)]
|
|
pub struct BulkDeleteRequest {
|
|
pub ids: Vec<String>,
|
|
}
|
|
|
|
#[derive(Default, Serialize, ToSchema)]
|
|
pub struct BulkDeleteResponse {
|
|
pub successful: Vec<String>,
|
|
pub unsuccessful: Vec<String>,
|
|
pub err: Option<String>,
|
|
}
|