From df7dba70337fb9650f0609aa104298abe2c95b7a Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Fri, 11 Jul 2025 09:49:50 -0700 Subject: [PATCH 01/22] chore(metrics): Disable span metrics --- relay-dynamic-config/src/defaults.rs | 1140 +------------------------- relay-dynamic-config/src/global.rs | 19 +- 2 files changed, 3 insertions(+), 1156 deletions(-) diff --git a/relay-dynamic-config/src/defaults.rs b/relay-dynamic-config/src/defaults.rs index c88e2ab1bbe..0eb6b831c9b 100644 --- a/relay-dynamic-config/src/defaults.rs +++ b/relay-dynamic-config/src/defaults.rs @@ -1,58 +1,11 @@ use relay_base_schema::data_category::DataCategory; -use relay_common::glob2::LazyGlob; -use relay_event_normalization::utils::MAX_DURATION_MOBILE_MS; -use relay_protocol::RuleCondition; -use serde_json::Number; use crate::metrics::MetricSpec; -use crate::{Feature, GroupKey, MetricExtractionConfig, ProjectConfig, Tag, TagMapping}; - -/// A list of `span.op` patterns that indicate databases that should be skipped. -const DISABLED_DATABASES: &[&str] = &["*clickhouse*", "*compile*", "*redis*", "db.orm"]; - -/// A list of `span.op` patterns we want to enable for mobile. -const MOBILE_OPS: &[&str] = &[ - "activity.load", - "app.*", - "application.load", - "contentprovider.load", - "process.load", - "ui.load*", -]; - -/// A list of span descriptions that indicate top-level app start spans. -const APP_START_ROOT_SPAN_DESCRIPTIONS: &[&str] = &["Cold Start", "Warm Start"]; - -/// A list of patterns found in MongoDB queries. -const MONGODB_QUERIES: &[&str] = &["*\"$*", r"\{*", r"*(\{*", r"*\[\{*"]; - -/// A list of patterns for resource span ops we'd like to ingest. -const RESOURCE_SPAN_OPS: &[&str] = &["resource.script", "resource.css", "resource.img"]; - -const CACHE_SPAN_OPS: &[&str] = &[ - "cache.get_item", - "cache.save", - "cache.clear", - "cache.delete_item", - "cache.get", - "cache.put", - "cache.remove", - "cache.flush", -]; - -const QUEUE_SPAN_OPS: &[&str] = &[ - "queue.task.*", - "queue.submit.*", - "queue.task", - "queue.submit", - "queue.publish", - "queue.process", -]; +use crate::{MetricExtractionConfig, ProjectConfig}; /// Conditionally enables metrics extraction groups from the global config. /// /// Depending on feature flags, groups are either enabled or not. -/// This configuration is temporarily hard-coded here. It will later be provided by the upstream. pub fn add_span_metrics(project_config: &mut ProjectConfig) { let config = project_config .metric_extraction @@ -75,1099 +28,8 @@ pub fn add_span_metrics(project_config: &mut ProjectConfig) { }); } - // Common span metrics is a requirement for everything else: - if !features.has(Feature::ExtractCommonSpanMetricsFromEvent) { - return; - } - - // Enable the common modules group: - config - .global_groups - .entry(GroupKey::SpanMetricsCommon) - .or_default() - .is_enabled = true; - - if features.has(Feature::ExtractAddonsSpanMetricsFromEvent) { - config - .global_groups - .entry(GroupKey::SpanMetricsAddons) - .or_default() - .is_enabled = true; - } - - let span_metrics_tx = config - .global_groups - .entry(GroupKey::SpanMetricsTx) - .or_default(); - span_metrics_tx.is_enabled = true; - config._span_metrics_extended = true; if config.version == 0 { config.version = MetricExtractionConfig::MAX_SUPPORTED_VERSION; } } - -/// Configuration for extracting metrics from spans. -/// -/// These metrics are added to [`crate::GlobalConfig`] by the service and enabled -/// by project configs in sentry. -pub fn hardcoded_span_metrics() -> Vec<(GroupKey, Vec, Vec)> { - let is_ai = RuleCondition::glob("span.op", "ai.*") | RuleCondition::glob("span.op", "gen_ai.*"); - - let is_db = RuleCondition::eq("span.sentry_tags.category", "db") - & !RuleCondition::glob("span.op", DISABLED_DATABASES) - // MongoDB queries are only allowed when `span.system` is set to `mongodb`. - & (RuleCondition::eq("span.data.db\\.system", "mongodb") - | !RuleCondition::glob("span.description", MONGODB_QUERIES)); - let is_resource = RuleCondition::glob("span.op", RESOURCE_SPAN_OPS); - - let is_cache = RuleCondition::glob("span.op", CACHE_SPAN_OPS); - - let is_mobile_op = RuleCondition::glob("span.op", MOBILE_OPS); - - let is_mobile_sdk = RuleCondition::eq("span.sentry_tags.mobile", "true"); - - let is_http = RuleCondition::eq("span.op", "http.client"); - - let is_queue_op = RuleCondition::glob("span.op", QUEUE_SPAN_OPS); - - let is_allowed_browser = RuleCondition::eq( - "span.sentry_tags.browser.name", - vec![ - "Google Chrome", - "Chrome", - "Firefox", - "Safari", - "Edge", - "Opera", - // Mobile Browsers - "Chrome Mobile", - "Firefox Mobile", - "Mobile Safari", - "Edge Mobile", - "Opera Mobile", - ], - ); - - // This filter is based on - // https://github.com/getsentry/sentry/blob/e01885215ff1a5b4e0da3046b4d929398a946360/static/app/views/starfish/views/screens/screenLoadSpans/spanOpSelector.tsx#L31-L34 - let is_screen = RuleCondition::eq("span.sentry_tags.transaction.op", "ui.load") - & RuleCondition::eq( - "span.op", - vec![ - "file.read", - "file.write", - "ui.load", - "http.client", - "db", - "db.sql.room", - "db.sql.query", - "db.sql.transaction", - ], - ); - - let is_mobile = is_mobile_sdk.clone() & (is_mobile_op.clone() | is_screen); - - let is_interaction = RuleCondition::glob("span.op", "ui.interaction.*"); - - // For mobile spans, only extract duration metrics when they are below a threshold. - let duration_condition = RuleCondition::negate(is_mobile_op.clone()) - | RuleCondition::lte( - "span.exclusive_time", - Number::from_f64(MAX_DURATION_MOBILE_MS).unwrap_or(0.into()), - ); - - let is_app_start = RuleCondition::glob("span.op", "app.start.*") - & RuleCondition::eq("span.description", APP_START_ROOT_SPAN_DESCRIPTIONS); - - let should_extract_geo = - (is_allowed_browser.clone() & (is_resource.clone() | is_http.clone())) | is_mobile.clone(); - - // Metrics for addon modules are only extracted if the feature flag is enabled: - let is_addon = is_ai.clone() | is_queue_op.clone() | is_cache.clone(); - - let common_duration_light_condition = Some( - // The `!is_addon` check might be redundant, but we want to make sure that - // `exclusive_time_light` is not extracted twice. - !is_addon.clone() - & (is_db.clone() - | is_resource.clone() - | is_mobile.clone() - | is_interaction.clone() - | is_http.clone()) - & duration_condition.clone(), - ); - let addons_duration_light_condition = Some(is_addon.clone() & duration_condition.clone()); - - vec![ - ( - GroupKey::SpanMetricsCommon, - vec![ - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/exclusive_time@millisecond".into(), - field: Some("span.exclusive_time".into()), - condition: Some(!is_addon.clone()), - tags: vec![], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/exclusive_time_light@millisecond".into(), - field: Some("span.exclusive_time".into()), - condition: common_duration_light_condition.clone(), - tags: vec![], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/duration@millisecond".into(), - field: Some("span.duration".into()), - condition: Some(!is_addon.clone()), - tags: vec![], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/duration_light@millisecond".into(), - field: Some("span.duration".into()), - condition: common_duration_light_condition, - tags: vec![], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/http.response_content_length@byte".into(), - field: Some("span.data.http\\.response_content_length".into()), - condition: Some( - is_resource.clone() - & RuleCondition::gt("span.data.http\\.response_content_length", 0), - ), - tags: vec![ - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), // already guarded by condition on metric - Tag::with_key("file_extension") - .from_field("span.sentry_tags.file_extension") - .always(), // already guarded by condition on metric - Tag::with_key("resource.render_blocking_status") - .from_field("span.sentry_tags.resource.render_blocking_status") - .always(), // already guarded by condition on metric - Tag::with_key("span.description") - .from_field("span.sentry_tags.description") - .always(), // already guarded by condition on metric - Tag::with_key("span.domain") - .from_field("span.sentry_tags.domain") - .always(), // already guarded by condition on metric - Tag::with_key("span.group") - .from_field("span.sentry_tags.group") - .always(), // already guarded by condition on metric - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), // already guarded by condition on metric - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/http.decoded_response_content_length@byte".into(), - field: Some("span.data.http\\.decoded_response_content_length".into()), - condition: Some( - is_resource.clone() - & RuleCondition::gt( - "span.data.http\\.decoded_response_content_length", - 0, - ), - ), - tags: vec![ - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), // already guarded by condition on metric - Tag::with_key("file_extension") - .from_field("span.sentry_tags.file_extension") - .always(), // already guarded by condition on metric - Tag::with_key("resource.render_blocking_status") - .from_field("span.sentry_tags.resource.render_blocking_status") - .always(), // already guarded by condition on metric - Tag::with_key("span.description") - .from_field("span.sentry_tags.description") - .always(), // already guarded by condition on metric - Tag::with_key("span.domain") - .from_field("span.sentry_tags.domain") - .always(), // already guarded by condition on metric - Tag::with_key("span.group") - .from_field("span.sentry_tags.group") - .always(), // already guarded by condition on metric - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/http.response_transfer_size@byte".into(), - field: Some("span.data.http\\.response_transfer_size".into()), - condition: Some( - is_resource.clone() - & RuleCondition::gt("span.data.http\\.response_transfer_size", 0), - ), - tags: vec![ - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), // already guarded by condition on metric - Tag::with_key("file_extension") - .from_field("span.sentry_tags.file_extension") - .always(), // already guarded by condition on metric - Tag::with_key("resource.render_blocking_status") - .from_field("span.sentry_tags.resource.render_blocking_status") - .always(), // already guarded by condition on metric - Tag::with_key("span.description") - .from_field("span.sentry_tags.description") - .always(), // already guarded by condition on metric - Tag::with_key("span.domain") - .from_field("span.sentry_tags.domain") - .always(), // already guarded by condition on metric - Tag::with_key("span.group") - .from_field("span.sentry_tags.group") - .always(), // already guarded by condition on metric - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/webvital.score.total@ratio".into(), - field: Some("span.measurements.score.total.value".into()), - condition: Some(is_allowed_browser.clone()), - tags: vec![ - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("transaction.op") - .from_field("span.sentry_tags.transaction.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("browser.name") - .from_field("span.browser.name") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/webvital.score.inp@ratio".into(), - field: Some("span.measurements.score.inp.value".into()), - condition: Some(is_allowed_browser.clone()), - tags: vec![ - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("browser.name") - .from_field("span.sentry_tags.browser.name") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/webvital.score.weight.inp@ratio".into(), - field: Some("span.measurements.score.weight.inp.value".into()), - condition: Some(is_allowed_browser.clone()), - tags: vec![ - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("browser.name") - .from_field("span.sentry_tags.browser.name") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/webvital.inp@millisecond".into(), - field: Some("span.measurements.inp.value".into()), - condition: Some(is_allowed_browser.clone()), - tags: vec![ - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("browser.name") - .from_field("span.sentry_tags.browser.name") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "g:spans/mobile.slow_frames@none".into(), - field: Some("span.measurements.frames.slow.value".into()), - condition: Some(is_mobile.clone() & duration_condition.clone()), - tags: vec![ - Tag::with_key("transaction.op") - .from_field("span.sentry_tags.transaction.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("span.description") - .from_field("span.sentry_tags.description") - .always(), - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("span.group") - .from_field("span.sentry_tags.group") - .always(), - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), - Tag::with_key("device.class") - .from_field("span.sentry_tags.device.class") - .always(), - Tag::with_key("os.name") - .from_field("span.sentry_tags.os.name") - .always(), - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "g:spans/mobile.frozen_frames@none".into(), - field: Some("span.measurements.frames.frozen.value".into()), - condition: Some(is_mobile.clone() & duration_condition.clone()), - tags: vec![ - Tag::with_key("transaction.op") - .from_field("span.sentry_tags.transaction.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("span.description") - .from_field("span.sentry_tags.description") - .always(), - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("span.group") - .from_field("span.sentry_tags.group") - .always(), - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), - Tag::with_key("device.class") - .from_field("span.sentry_tags.device.class") - .always(), - Tag::with_key("os.name") - .from_field("span.sentry_tags.os.name") - .always(), - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "g:spans/mobile.total_frames@none".into(), - field: Some("span.measurements.frames.total.value".into()), - condition: Some(is_mobile.clone() & duration_condition.clone()), - tags: vec![ - Tag::with_key("transaction.op") - .from_field("span.sentry_tags.transaction.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("span.description") - .from_field("span.sentry_tags.description") - .always(), - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("span.group") - .from_field("span.sentry_tags.group") - .always(), - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), - Tag::with_key("device.class") - .from_field("span.sentry_tags.device.class") - .always(), - Tag::with_key("os.name") - .from_field("span.sentry_tags.os.name") - .always(), - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "g:spans/mobile.frames_delay@second".into(), - field: Some("span.measurements.frames.delay.value".into()), - condition: Some(is_mobile.clone() & duration_condition.clone()), - tags: vec![ - Tag::with_key("transaction.op") - .from_field("span.sentry_tags.transaction.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("span.description") - .from_field("span.sentry_tags.description") - .always(), - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("span.group") - .from_field("span.sentry_tags.group") - .always(), - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), - Tag::with_key("device.class") - .from_field("span.sentry_tags.device.class") - .always(), - Tag::with_key("os.name") - .from_field("span.sentry_tags.os.name") - .always(), - ], - }, - ], - vec![ - TagMapping { - metrics: vec![ - LazyGlob::new("d:spans/duration@millisecond"), - LazyGlob::new("d:spans/exclusive_time@millisecond"), - ], - tags: vec![ - // All modules: - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("transaction.op") - .from_field("span.sentry_tags.transaction.op") - .always(), - Tag::with_key("span.group") - .from_field("span.sentry_tags.group") - .when( - (is_app_start.clone() - | is_db.clone() - | is_resource.clone() - | is_mobile.clone() - | is_http.clone() - | is_ai.clone() // guarded by is_addon - | is_queue_op.clone()) // guarded by is_addon - & duration_condition.clone(), - ), - Tag::with_key("span.category") - .from_field("span.sentry_tags.category") - .when( - (is_db.clone() - | is_ai.clone() - | is_resource.clone() - | is_mobile.clone() - | is_http.clone() - | is_queue_op.clone() - | is_ai.clone() // guarded by is_addon - | is_queue_op.clone()) // guarded by is_addon - & duration_condition.clone(), - ), - Tag::with_key("span.description") - .from_field("span.sentry_tags.description") - .when( - (is_app_start.clone() - | is_ai.clone() - | is_db.clone() - | is_resource.clone() - | is_mobile.clone() - | is_http.clone() - | is_queue_op.clone()| is_ai.clone() // guarded by is_addon - | is_queue_op.clone()) // guarded by is_addon) - & duration_condition.clone(), - ), - // Know modules: - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .when(should_extract_geo.clone()), - Tag::with_key("transaction.method") - .from_field("span.sentry_tags.transaction.method") - .when(is_db.clone() | is_mobile.clone() | is_http.clone()), // groups by method + txn, e.g. `GET /users` - Tag::with_key("span.action") - .from_field("span.sentry_tags.action") - .when(is_db.clone()), - Tag::with_key("span.domain") - .from_field("span.sentry_tags.domain") - .when(is_db.clone() | is_resource.clone() | is_http.clone()), - // Mobile module: - Tag::with_key("device.class") - .from_field("span.sentry_tags.device.class") - .when(is_mobile.clone()), - Tag::with_key("os.name") // TODO: might not be needed on both `exclusive_time` metrics - .from_field("span.sentry_tags.os.name") - .when( - is_mobile.clone() - | (is_app_start.clone() & duration_condition.clone()), - ), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .when( - is_mobile.clone() - | (is_app_start.clone() & duration_condition.clone()), - ), - Tag::with_key("ttfd") - .from_field("span.sentry_tags.ttfd") - .when(is_mobile.clone()), - Tag::with_key("ttid") - .from_field("span.sentry_tags.ttid") - .when(is_mobile.clone()), - Tag::with_key("span.main_thread") - .from_field("span.sentry_tags.main_thread") - .when(is_mobile.clone()), - Tag::with_key("app_start_type") - .from_field("span.sentry_tags.app_start_type") - .when(is_mobile.clone()), - // Resource module: - Tag::with_key("file_extension") - .from_field("span.sentry_tags.file_extension") - .when(is_resource.clone()), - Tag::with_key("resource.render_blocking_status") - .from_field("span.sentry_tags.resource.render_blocking_status") - .when(is_resource.clone()), - // HTTP module: - Tag::with_key("span.status_code") - .from_field("span.sentry_tags.status_code") - .when(is_http.clone()), - ], - }, - TagMapping { - metrics: vec![ - LazyGlob::new("d:spans/duration_light@millisecond"), - LazyGlob::new("d:spans/exclusive_time_light@millisecond"), - ], - tags: vec![ - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .when( - is_db.clone() - | is_resource.clone() - | is_mobile.clone() - | is_http.clone(), - ), - Tag::with_key("transaction.op") - .from_field("span.sentry_tags.transaction.op") - .when(is_mobile.clone()), - Tag::with_key("span.action") - .from_field("span.sentry_tags.action") - .when(is_db.clone()), - Tag::with_key("span.category") - .from_field("span.sentry_tags.category") - .always(), - Tag::with_key("span.description") - .from_field("span.sentry_tags.description") - .always(), - Tag::with_key("span.domain") - .from_field("span.sentry_tags.domain") - .when(is_db.clone() | is_resource.clone() | is_http.clone()), - Tag::with_key("span.group") - .from_field("span.sentry_tags.group") - .always(), - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .when(should_extract_geo.clone()), - // Mobile: - Tag::with_key("device.class") - .from_field("span.sentry_tags.device.class") - .when(is_mobile.clone()), - Tag::with_key("os.name") // TODO: might not be needed on both `exclusive_time` metrics - .from_field("span.sentry_tags.os.name") - .when(is_mobile.clone()), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .when(is_mobile.clone()), - // Resource module: - Tag::with_key("file_extension") - .from_field("span.sentry_tags.file_extension") - .when(is_resource.clone()), - Tag::with_key("resource.render_blocking_status") - .from_field("span.sentry_tags.resource.render_blocking_status") - .when(is_resource.clone()), - // HTTP module: - Tag::with_key("span.status_code") - .from_field("span.sentry_tags.status_code") - .when(is_http.clone()), - ], - }, - ], - ), - ( - GroupKey::SpanMetricsAddons, - vec![ - // all addon modules - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/exclusive_time@millisecond".into(), - field: Some("span.exclusive_time".into()), - condition: Some(is_addon.clone()), - tags: vec![], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/exclusive_time_light@millisecond".into(), - field: Some("span.exclusive_time".into()), - condition: addons_duration_light_condition.clone(), - tags: vec![], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/duration@millisecond".into(), - field: Some("span.duration".into()), - condition: Some(is_addon), - tags: vec![], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/duration_light@millisecond".into(), - field: Some("span.duration".into()), - condition: addons_duration_light_condition.clone(), - tags: vec![], - }, - // cache module - MetricSpec { - category: DataCategory::Span, - mri: "d:spans/cache.item_size@byte".into(), - field: Some("span.measurements.cache.item_size.value".into()), - condition: Some(is_cache.clone()), - tags: vec![ - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), // already guarded by condition on metric - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), // already guarded by condition on metric - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), // already guarded by condition on metric - Tag::with_key("cache.hit") - .from_field("span.sentry_tags.cache.hit") - .always(), // already guarded by condition on metric - ], - }, - // ai module - MetricSpec { - category: DataCategory::Span, - mri: "c:spans/ai.total_tokens.used@none".into(), - field: Some("span.data.gen_ai\\.usage\\.total_tokens".into()), - condition: Some(is_ai.clone()), - tags: vec![ - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("span.origin") - .from_field("span.origin") - .always(), - Tag::with_key("span.category") - .from_field("span.sentry_tags.category") - .always(), // already guarded by condition on metric - Tag::with_key("span.ai.pipeline.group") - .from_field("span.sentry_tags.ai_pipeline_group") - .always(), // already guarded by condition on metric - Tag::with_key("span.description") - .from_field("span.sentry_tags.description") - .always(), // already guarded by condition on metric - Tag::with_key("span.group") - .from_field("span.sentry_tags.group") - .always(), // already guarded by condition on metric - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "c:spans/ai.total_cost@usd".into(), - field: Some("span.data.gen_ai\\.usage\\.total_cost".into()), - condition: Some(is_ai.clone()), - tags: vec![ - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("span.origin") - .from_field("span.origin") - .always(), - Tag::with_key("span.category") - .from_field("span.sentry_tags.category") - .always(), // already guarded by condition on metric - Tag::with_key("span.ai.pipeline.group") - .from_field("span.sentry_tags.ai_pipeline_group") - .always(), // already guarded by condition on metric - Tag::with_key("span.description") - .from_field("span.sentry_tags.description") - .always(), // already guarded by condition on metric - Tag::with_key("span.group") - .from_field("span.sentry_tags.group") - .always(), // already guarded by condition on metric - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), // already guarded by condition on metric - ], - }, // queue module - MetricSpec { - category: DataCategory::Span, - mri: "g:spans/messaging.message.receive.latency@millisecond".into(), - field: Some("span.measurements.messaging.message.receive.latency.value".into()), - condition: Some(is_queue_op.clone()), - tags: vec![ - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("messaging.destination.name") - .from_field("span.sentry_tags.messaging.destination.name") - .always(), - Tag::with_key("messaging.operation.name") - .from_field("span.sentry_tags.messaging.operation.name") - .always(), - Tag::with_key("messaging.operation.type") - .from_field("span.sentry_tags.messaging.operation.type") - .always(), - ], - }, - ], - vec![ - TagMapping { - metrics: vec![ - LazyGlob::new("d:spans/duration@millisecond"), - LazyGlob::new("d:spans/duration_light@millisecond"), - LazyGlob::new("d:spans/exclusive_time@millisecond"), - LazyGlob::new("d:spans/exclusive_time_light@millisecond"), - ], - tags: vec![ - // cache module - Tag::with_key("cache.hit") - .from_field("span.sentry_tags.cache.hit") - .when(is_cache.clone()), - // queue module - Tag::with_key("messaging.destination.name") - .from_field("span.sentry_tags.messaging.destination.name") - .when(is_queue_op.clone()), - Tag::with_key("messaging.operation.name") - .from_field("span.sentry_tags.messaging.operation.name") - .when(is_queue_op.clone()), - Tag::with_key("messaging.operation.type") - .from_field("span.sentry_tags.messaging.operation.type") - .when(is_queue_op.clone()), - Tag::with_key("trace.status") - .from_field("span.sentry_tags.trace.status") - .when(is_queue_op.clone()), - // database module - Tag::with_key("span.system") - .from_field("span.sentry_tags.system") - .when(is_db.clone()), - ], - }, - TagMapping { - metrics: vec![ - LazyGlob::new("d:spans/duration_light@millisecond"), - LazyGlob::new("d:spans/exclusive_time_light@millisecond"), - ], - tags: vec![ - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .when(is_cache.clone() | is_queue_op.clone()), - ], - }, - ], - ), - ( - GroupKey::SpanMetricsTx, - vec![ - MetricSpec { - category: DataCategory::Span, - mri: "d:transactions/measurements.score.total@ratio".into(), - field: Some("span.measurements.score.total.value".into()), - condition: Some( - // If transactions are extracted from spans, the transaction processing pipeline - // will take care of this metric. - is_allowed_browser.clone() - & RuleCondition::eq("span.was_transaction", false), - ), - tags: vec![ - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("transaction.op") - .from_field("span.sentry_tags.transaction.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("browser.name") - .from_field("span.browser.name") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:transactions/measurements.score.cls@ratio".into(), - field: Some("span.measurements.score.cls.value".into()), - condition: Some(is_allowed_browser.clone()), - tags: vec![ - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("browser.name") - .from_field("span.sentry_tags.browser.name") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:transactions/measurements.score.weight.cls@ratio".into(), - field: Some("span.measurements.score.weight.cls.value".into()), - condition: Some(is_allowed_browser.clone()), - tags: vec![ - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("browser.name") - .from_field("span.sentry_tags.browser.name") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:transactions/measurements.cls@none".into(), - field: Some("span.measurements.cls.value".into()), - condition: Some(is_allowed_browser.clone()), - tags: vec![ - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("browser.name") - .from_field("span.sentry_tags.browser.name") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:transactions/measurements.score.lcp@ratio".into(), - field: Some("span.measurements.score.lcp.value".into()), - condition: Some(is_allowed_browser.clone()), - tags: vec![ - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("browser.name") - .from_field("span.sentry_tags.browser.name") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:transactions/measurements.score.weight.lcp@ratio".into(), - field: Some("span.measurements.score.weight.lcp.value".into()), - condition: Some(is_allowed_browser.clone()), - tags: vec![ - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("browser.name") - .from_field("span.sentry_tags.browser.name") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - MetricSpec { - category: DataCategory::Span, - mri: "d:transactions/measurements.lcp@millisecond".into(), - field: Some("span.measurements.lcp.value".into()), - condition: Some(is_allowed_browser.clone()), - tags: vec![ - Tag::with_key("span.op") - .from_field("span.sentry_tags.op") - .always(), - Tag::with_key("transaction") - .from_field("span.sentry_tags.transaction") - .always(), - Tag::with_key("environment") - .from_field("span.sentry_tags.environment") - .always(), - Tag::with_key("release") - .from_field("span.sentry_tags.release") - .always(), - Tag::with_key("browser.name") - .from_field("span.sentry_tags.browser.name") - .always(), // already guarded by condition on metric - Tag::with_key("user.geo.subregion") - .from_field("span.sentry_tags.user.geo.subregion") - .always(), // already guarded by condition on metric - ], - }, - ], - vec![], - ), - ] -} diff --git a/relay-dynamic-config/src/global.rs b/relay-dynamic-config/src/global.rs index b557710fd13..14fc971bc66 100644 --- a/relay-dynamic-config/src/global.rs +++ b/relay-dynamic-config/src/global.rs @@ -1,5 +1,4 @@ use std::collections::HashMap; -use std::collections::btree_map::Entry; use std::fs::File; use std::io::BufReader; use std::path::Path; @@ -11,7 +10,7 @@ use relay_quotas::Quota; use serde::{Deserialize, Serialize, de}; use serde_json::Value; -use crate::{ErrorBoundary, MetricExtractionGroup, MetricExtractionGroups, defaults}; +use crate::{ErrorBoundary, MetricExtractionGroups}; /// A dynamic configuration for all Relays passed down from Sentry. /// @@ -85,21 +84,7 @@ impl GlobalConfig { /// Modifies the global config after deserialization. /// /// - Adds hard-coded groups to metrics extraction configs. - pub fn normalize(&mut self) { - if let ErrorBoundary::Ok(config) = &mut self.metric_extraction { - for (group_name, metrics, tags) in defaults::hardcoded_span_metrics() { - // We only define these groups if they haven't been defined by the upstream yet. - // This ensures that the innermost Relay always defines the metrics. - if let Entry::Vacant(entry) = config.groups.entry(group_name) { - entry.insert(MetricExtractionGroup { - is_enabled: false, // must be enabled via project config - metrics, - tags, - }); - } - } - } - } + pub fn normalize(&mut self) {} } fn is_err_or_empty(filters_config: &ErrorBoundary) -> bool { From 9a804ec74feb0a8751cc3929e4691ecaebea6ffd Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Fri, 11 Jul 2025 09:50:04 -0700 Subject: [PATCH 02/22] Remove feature flags --- relay-dynamic-config/src/feature.rs | 12 ------------ relay-server/src/services/processor.rs | 3 +-- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/relay-dynamic-config/src/feature.rs b/relay-dynamic-config/src/feature.rs index 2fbf733eb43..b97c536caaa 100644 --- a/relay-dynamic-config/src/feature.rs +++ b/relay-dynamic-config/src/feature.rs @@ -80,16 +80,6 @@ pub enum Feature { /// Serialized as `organizations:continuous-profiling-beta-ingest`. #[serde(rename = "organizations:continuous-profiling-beta-ingest")] ContinuousProfilingBetaIngest, - /// Enables metric extraction from spans for common modules. - /// - /// Serialized as `projects:span-metrics-extraction`. - #[serde(rename = "projects:span-metrics-extraction")] - ExtractCommonSpanMetricsFromEvent, - /// Enables metric extraction from spans for addon modules. - /// - /// Serialized as `projects:span-metrics-extraction-addons`. - #[serde(rename = "projects:span-metrics-extraction-addons")] - ExtractAddonsSpanMetricsFromEvent, /// When enabled, spans will be extracted from a transaction. /// /// Serialized as `organizations:indexed-spans-extraction`. @@ -148,8 +138,6 @@ impl FeatureSet { /// Returns `true` if any spans are produced for this project. pub fn produces_spans(&self) -> bool { self.has(Feature::ExtractSpansFromEvent) - || self.has(Feature::StandaloneSpanIngestion) - || self.has(Feature::ExtractCommonSpanMetricsFromEvent) } } diff --git a/relay-server/src/services/processor.rs b/relay-server/src/services/processor.rs index e9d330bfbe4..56836d76566 100644 --- a/relay-server/src/services/processor.rs +++ b/relay-server/src/services/processor.rs @@ -1566,8 +1566,7 @@ impl EnvelopeProcessorService { }, device_class_synthesis_config: project_info .has_feature(Feature::DeviceClassSynthesis), - enrich_spans: project_info.has_feature(Feature::ExtractSpansFromEvent) - || project_info.has_feature(Feature::ExtractCommonSpanMetricsFromEvent), + enrich_spans: project_info.has_feature(Feature::ExtractSpansFromEvent), max_tag_value_length: self .inner .config From 5841a87505e92e5cc9ab831595ed8012c920fa61 Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Fri, 11 Jul 2025 09:50:17 -0700 Subject: [PATCH 03/22] Update snapshots --- ...nt__tests__both_feature_flags_enabled.snap | 9134 +---------------- ...t__tests__extract_span_metrics_mobile.snap | 1576 +-- ...extraction__event__tests__only_common.snap | 7622 +------------- 3 files changed, 697 insertions(+), 17635 deletions(-) diff --git a/relay-server/src/metrics_extraction/snapshots/relay_server__metrics_extraction__event__tests__both_feature_flags_enabled.snap b/relay-server/src/metrics_extraction/snapshots/relay_server__metrics_extraction__event__tests__both_feature_flags_enabled.snap index 34cad94b9ac..010f9423e56 100644 --- a/relay-server/src/metrics_extraction/snapshots/relay_server__metrics_extraction__event__tests__both_feature_flags_enabled.snap +++ b/relay-server/src/metrics_extraction/snapshots/relay_server__metrics_extraction__event__tests__both_feature_flags_enabled.snap @@ -22,22 +22,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1619420400), + timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 59000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "myop", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -47,22 +40,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1619420400), + timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 59000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "myop", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -93,19 +79,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.react.render", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -118,19 +97,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.react.render", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -161,25 +133,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -192,22 +151,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -220,25 +169,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -251,22 +187,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -297,25 +223,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -328,22 +241,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -356,25 +259,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -387,22 +277,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -433,25 +313,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -464,22 +331,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -492,25 +349,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -523,22 +367,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -569,24 +403,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -599,21 +421,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -626,24 +439,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -656,21 +457,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -701,25 +493,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "span.status_code": "500", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -732,22 +511,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "span.status_code": "500", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -760,25 +529,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "span.status_code": "500", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -791,22 +547,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "span.status_code": "500", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -837,26 +583,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -869,23 +601,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -895,29 +616,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1695255152), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -927,26 +634,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1695255136), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -956,7 +652,7 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1694732408), width: 0, name: MetricName( "c:spans/usage@none", @@ -974,29 +670,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1694732408), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1009,23 +691,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1038,26 +709,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1070,23 +727,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1117,26 +763,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1149,84 +781,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1253,128 +813,6 @@ expression: metrics.project_metrics extracted_from_indexed: false, }, }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, Bucket { timestamp: UnixTimestamp(1597976302), width: 0, @@ -1397,26 +835,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1429,23 +853,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1458,26 +871,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1490,23 +889,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1537,26 +925,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1569,23 +943,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1598,26 +961,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1630,23 +979,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1677,26 +1015,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1709,23 +1033,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1738,26 +1051,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1770,23 +1069,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1817,25 +1105,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1848,22 +1123,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1876,25 +1141,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1907,22 +1159,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1950,27 +1192,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1694732408), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1980,24 +1210,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1694732408), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -2007,27 +1228,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1702474613), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -2037,24 +1246,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1702474613), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -2064,7 +1264,7 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1702474613), width: 0, name: MetricName( "c:spans/usage@none", @@ -2082,29 +1282,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1702474613), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -2114,26 +1300,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1702474613), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -2143,29 +1318,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1702474613), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -2175,7456 +1336,7 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.op": "cache.get_item", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.category": "cache", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "cache.get_item", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.op": "cache.get_item", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.category": "cache", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "cache.get_item", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/cache.item_size@byte", - ), - value: Distribution( - [ - 8.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.op": "cache.get_item", - "transaction": "gEt /api/:version/users/", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.op": "cache.get", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.category": "cache", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "cache.get", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.op": "cache.get", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.category": "cache", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "cache.get", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/cache.item_size@byte", - ), - value: Distribution( - [ - 8.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.op": "cache.get", - "transaction": "gEt /api/:version/users/", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "COUNT", - "span.category": "db", - "span.op": "db.sql.query", - "span.system": "mongodb", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "COUNT", - "span.category": "db", - "span.op": "db.sql.query", - "span.system": "mongodb", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "COUNT", - "span.category": "db", - "span.op": "db.sql.query", - "span.system": "mongodb", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "COUNT", - "span.category": "db", - "span.op": "db.sql.query", - "span.system": "mongodb", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.mongodb.find", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.mongodb.find", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.activerecord", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.activerecord", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.activerecord", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.activerecord", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis.command", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis.command", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1695255152), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1695255152), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 15833.532095, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.load", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1695255152), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 15833.532095, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.load", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1695255136), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1695255136), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 1668.516159, - ], - ), - tags: { - "environment": "fake_environment", - "release": "1.2.3", - "span.description": "Cold Start", - "span.group": "2d675185edfeb30c", - "span.op": "app.start.cold", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1695255136), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 1668.516159, - ], - ), - tags: { - "environment": "fake_environment", - "release": "1.2.3", - "span.description": "Cold Start", - "span.group": "2d675185edfeb30c", - "span.op": "app.start.cold", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.response_content_length@byte", - ), - value: Distribution( - [ - 36170.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "transaction": "gEt /api/:version/users/", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.decoded_response_content_length@byte", - ), - value: Distribution( - [ - 128950.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.response_transfer_size@byte", - ), - value: Distribution( - [ - 36470.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.response_content_length@byte", - ), - value: Distribution( - [ - 36170.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.decoded_response_content_length@byte", - ), - value: Distribution( - [ - 128950.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.response_transfer_size@byte", - ), - value: Distribution( - [ - 36470.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.react.render", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.react.render", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - "span.system": "postgresql", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - "span.system": "postgresql", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - "span.system": "mydatabase", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - "span.system": "mydatabase", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.op": "cache.get_item", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.category": "cache", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "cache.get_item", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.op": "cache.get_item", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.category": "cache", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "cache.get_item", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/cache.item_size@byte", - ), - value: Distribution( - [ - 10.0, - ], - ), - tags: { - "cache.hit": "false", - "environment": "fake_environment", - "span.op": "cache.get_item", - "transaction": "gEt /api/:version/users/", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "true", - "environment": "fake_environment", - "span.op": "cache.get_item", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "true", - "environment": "fake_environment", - "span.category": "cache", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "cache.get_item", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "true", - "environment": "fake_environment", - "span.op": "cache.get_item", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "cache.hit": "true", - "environment": "fake_environment", - "span.category": "cache", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "cache.get_item", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "browser-extension://*", - "span.domain": "*", - "span.group": "3e92c536f98104b2", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "browser-extension://*", - "span.domain": "*", - "span.group": "3e92c536f98104b2", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "browser-extension://*", - "span.domain": "*", - "span.group": "3e92c536f98104b2", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "browser-extension://*", - "span.domain": "*", - "span.group": "3e92c536f98104b2", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.response_content_length@byte", - ), - value: Distribution( - [ - 36170.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "transaction": "gEt /api/:version/users/", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.decoded_response_content_length@byte", - ), - value: Distribution( - [ - 128950.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.response_transfer_size@byte", - ), - value: Distribution( - [ - 36470.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "*/zero-length-*", - "span.group": "c7d3c9d83f92123a", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "*/zero-length-*", - "span.group": "c7d3c9d83f92123a", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "*/zero-length-*", - "span.group": "c7d3c9d83f92123a", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "*/zero-length-*", - "span.group": "c7d3c9d83f92123a", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.interaction.click", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "span.category": "ui", - "span.description": "my-component-name", - "span.group": "e674f9eca1d88a4d", - "span.op": "ui.interaction.click", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.interaction.click", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "span.category": "ui", - "span.description": "my-component-name", - "span.group": "e674f9eca1d88a4d", - "span.op": "ui.interaction.click", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.task.celery", - "trace.status": "ok", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.task.celery", - "trace.status": "ok", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.task.celery", - "trace.status": "ok", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.task.celery", - "trace.status": "ok", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "g:spans/messaging.message.receive.latency@millisecond", - ), - value: Gauge( - GaugeValue { - last: 100.0, - min: 100.0, - max: 100.0, - sum: 100.0, - count: 1, - }, - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.op": "queue.task.celery", - "transaction": "gEt /api/:version/users/", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.submit.celery", - "trace.status": "ok", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.submit.celery", - "trace.status": "ok", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.submit.celery", - "trace.status": "ok", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.submit.celery", - "trace.status": "ok", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "g:spans/messaging.message.receive.latency@millisecond", - ), - value: Gauge( - GaugeValue { - last: 100.0, - min: 100.0, - max: 100.0, - sum: 100.0, - count: 1, - }, - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.op": "queue.submit.celery", - "transaction": "gEt /api/:version/users/", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.publish", - "trace.status": "ok", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.publish", - "trace.status": "ok", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.publish", - "trace.status": "ok", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.publish", - "trace.status": "ok", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "g:spans/messaging.message.receive.latency@millisecond", - ), - value: Gauge( - GaugeValue { - last: 100.0, - min: 100.0, - max: 100.0, - sum: 100.0, - count: 1, - }, - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.op": "queue.publish", - "transaction": "gEt /api/:version/users/", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.process", - "trace.status": "ok", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.process", - "trace.status": "ok", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.process", - "trace.status": "ok", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.category": "queue", - "span.op": "queue.process", - "trace.status": "ok", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "g:spans/messaging.message.receive.latency@millisecond", - ), - value: Gauge( - GaugeValue { - last: 100.0, - min: 100.0, - max: 100.0, - sum: 100.0, - count: 1, - }, - ), - tags: { - "environment": "fake_environment", - "messaging.destination.name": "default", - "messaging.operation.name": "publish", - "messaging.operation.type": "create", - "span.op": "queue.process", - "transaction": "gEt /api/:version/users/", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "ai", - "span.description": "ConcurrentStream", - "span.group": "fdd5a729aef245ba", - "span.op": "ai.run.langchain", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "span.category": "ai", - "span.description": "ConcurrentStream", - "span.group": "fdd5a729aef245ba", - "span.op": "ai.run.langchain", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "ai", - "span.description": "ConcurrentStream", - "span.group": "fdd5a729aef245ba", - "span.op": "ai.run.langchain", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "span.category": "ai", - "span.description": "ConcurrentStream", - "span.group": "fdd5a729aef245ba", - "span.op": "ai.run.langchain", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "c:spans/ai.total_tokens.used@none", - ), - value: Counter( - 20.0, - ), - tags: { - "environment": "fake_environment", - "release": "1.2.3", - "span.ai.pipeline.group": "86148ae2d6c09430", - "span.category": "ai", - "span.description": "ConcurrentStream", - "span.group": "fdd5a729aef245ba", - "span.op": "ai.run.langchain", - "span.origin": "auto.langchain", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), + timestamp: UnixTimestamp(1702474613), width: 0, name: MetricName( "c:spans/usage@none", @@ -9641,136 +1353,4 @@ expression: metrics.project_metrics extracted_from_indexed: false, }, }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "ai.pipeline", - "span.description": "Autofix Pipeline", - "span.group": "86148ae2d6c09430", - "span.op": "ai.pipeline", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "span.category": "ai.pipeline", - "span.description": "Autofix Pipeline", - "span.group": "86148ae2d6c09430", - "span.op": "ai.pipeline", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "ai.pipeline", - "span.description": "Autofix Pipeline", - "span.group": "86148ae2d6c09430", - "span.op": "ai.pipeline", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "span.category": "ai.pipeline", - "span.description": "Autofix Pipeline", - "span.group": "86148ae2d6c09430", - "span.op": "ai.pipeline", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "c:spans/ai.total_tokens.used@none", - ), - value: Counter( - 30.0, - ), - tags: { - "environment": "fake_environment", - "release": "1.2.3", - "span.category": "ai.pipeline", - "span.description": "Autofix Pipeline", - "span.group": "86148ae2d6c09430", - "span.op": "ai.pipeline", - "span.origin": "auto.langchain", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, ] diff --git a/relay-server/src/metrics_extraction/snapshots/relay_server__metrics_extraction__event__tests__extract_span_metrics_mobile.snap b/relay-server/src/metrics_extraction/snapshots/relay_server__metrics_extraction__event__tests__extract_span_metrics_mobile.snap index 997d7a6b73c..4b8068ebc8a 100644 --- a/relay-server/src/metrics_extraction/snapshots/relay_server__metrics_extraction__event__tests__extract_span_metrics_mobile.snap +++ b/relay-server/src/metrics_extraction/snapshots/relay_server__metrics_extraction__event__tests__extract_span_metrics_mobile.snap @@ -1708,1025 +1708,7 @@ expression: "(&event.value().unwrap().spans, metrics.project_metrics)" }, }, Bucket { - timestamp: UnixTimestamp(1619420400), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 59000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "gEt /api/:version/users/", - "span.group": "368c4046e9831b12", - "span.op": "ui.load", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1619420400), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 59000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "gEt /api/:version/users/", - "span.group": "368c4046e9831b12", - "span.op": "ui.load", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1619420400), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 59000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "gEt /api/:version/users/", - "span.group": "368c4046e9831b12", - "span.op": "ui.load", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1619420400), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 59000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "gEt /api/:version/users/", - "span.group": "368c4046e9831b12", - "span.op": "ui.load", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "app", - "span.op": "app.start.cold", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "app", - "span.op": "app.start.cold", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "app", - "span.op": "app.start.cold", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "app", - "span.op": "app.start.cold", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.op": "ui.load.initial_display", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.op": "ui.load.initial_display", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.op": "ui.load.initial_display", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.op": "ui.load.initial_display", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "g:spans/mobile.slow_frames@none", - ), - value: Gauge( - GaugeValue { - last: 1.0, - min: 1.0, - max: 1.0, - sum: 1.0, - count: 1, - }, - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.op": "ui.load.initial_display", - "transaction": "gEt /api/:version/users/", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "g:spans/mobile.frozen_frames@none", - ), - value: Gauge( - GaugeValue { - last: 2.0, - min: 2.0, - max: 2.0, - sum: 2.0, - count: 1, - }, - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.op": "ui.load.initial_display", - "transaction": "gEt /api/:version/users/", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "g:spans/mobile.total_frames@none", - ), - value: Gauge( - GaugeValue { - last: 9.0, - min: 9.0, - max: 9.0, - sum: 9.0, - count: 1, - }, - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.op": "ui.load.initial_display", - "transaction": "gEt /api/:version/users/", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "g:spans/mobile.frames_delay@second", - ), - value: Gauge( - GaugeValue { - last: 0.1, - min: 0.1, - max: 0.1, - sum: 0.1, - count: 1, - }, - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.op": "ui.load.initial_display", - "transaction": "gEt /api/:version/users/", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "app", - "span.description": "Cold Start", - "span.group": "2d675185edfeb30c", - "span.op": "app.start.cold", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "app", - "span.description": "Cold Start", - "span.group": "2d675185edfeb30c", - "span.op": "app.start.cold", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "app", - "span.description": "Cold Start", - "span.group": "2d675185edfeb30c", - "span.op": "app.start.cold", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "app", - "span.description": "Cold Start", - "span.group": "2d675185edfeb30c", - "span.op": "app.start.cold", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "span.op": "custom.op", - "transaction": "gEt /api/:version/users/", - "transaction.op": "ui.load", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "span.op": "custom.op", - "transaction": "gEt /api/:version/users/", - "transaction.op": "ui.load", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "io.sentry.android.core.SentryPerformanceProvider.onCreate", - "span.group": "cfb484dec50a18c9", - "span.op": "contentprovider.load", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "io.sentry.android.core.SentryPerformanceProvider.onCreate", - "span.group": "cfb484dec50a18c9", - "span.op": "contentprovider.load", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "io.sentry.android.core.SentryPerformanceProvider.onCreate", - "span.group": "cfb484dec50a18c9", - "span.op": "contentprovider.load", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "io.sentry.android.core.SentryPerformanceProvider.onCreate", - "span.group": "cfb484dec50a18c9", - "span.op": "contentprovider.load", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "io.sentry.samples.android.MyApplication.onCreate", - "span.group": "a928f42bab6aff5b", - "span.op": "application.load", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "io.sentry.samples.android.MyApplication.onCreate", - "span.group": "a928f42bab6aff5b", - "span.op": "application.load", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "io.sentry.samples.android.MyApplication.onCreate", - "span.group": "a928f42bab6aff5b", - "span.op": "application.load", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "io.sentry.samples.android.MyApplication.onCreate", - "span.group": "a928f42bab6aff5b", - "span.op": "application.load", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), + timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( "c:spans/usage@none", @@ -2743,130 +1725,6 @@ expression: "(&event.value().unwrap().spans, metrics.project_metrics)" extracted_from_indexed: false, }, }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "cold", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "io.sentry.samples.android.MainActivity.onCreate", - "span.group": "6d931be5b5897006", - "span.op": "activity.load", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "io.sentry.samples.android.MainActivity.onCreate", - "span.group": "6d931be5b5897006", - "span.op": "activity.load", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "cold", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "io.sentry.samples.android.MainActivity.onCreate", - "span.group": "6d931be5b5897006", - "span.op": "activity.load", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.description": "io.sentry.samples.android.MainActivity.onCreate", - "span.group": "6d931be5b5897006", - "span.op": "activity.load", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, Bucket { timestamp: UnixTimestamp(1597976303), width: 0, @@ -2885,122 +1743,6 @@ expression: "(&event.value().unwrap().spans, metrics.project_metrics)" extracted_from_indexed: false, }, }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "cold", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.op": "process.load", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.op": "process.load", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "cold", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.op": "process.load", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.op": "process.load", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, Bucket { timestamp: UnixTimestamp(1597976303), width: 0, @@ -3019,134 +1761,6 @@ expression: "(&event.value().unwrap().spans, metrics.project_metrics)" extracted_from_indexed: false, }, }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "file", - "span.description": "*", - "span.group": "3389dae361af79b0", - "span.op": "file.read", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "file", - "span.description": "*", - "span.group": "3389dae361af79b0", - "span.op": "file.read", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "file", - "span.description": "*", - "span.group": "3389dae361af79b0", - "span.op": "file.read", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "file", - "span.description": "*", - "span.group": "3389dae361af79b0", - "span.op": "file.read", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, Bucket { timestamp: UnixTimestamp(1597976303), width: 0, @@ -3169,89 +1783,12 @@ expression: "(&event.value().unwrap().spans, metrics.project_metrics)" timestamp: UnixTimestamp(1597976303), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "http", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 3000.0, - ], - ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "http", - "span.op": "http.client", - "span.status_code": "200", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976303), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", + "c:spans/usage@none", ), - value: Distribution( - [ - 3000.0, - ], + value: Counter( + 1.0, ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "http", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -3264,23 +1801,12 @@ expression: "(&event.value().unwrap().spans, metrics.project_metrics)" timestamp: UnixTimestamp(1597976303), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", + "c:spans/usage@none", ), - value: Distribution( - [ - 3000.0, - ], + value: Counter( + 1.0, ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "http", - "span.op": "http.client", - "span.status_code": "200", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -3311,27 +1837,12 @@ expression: "(&event.value().unwrap().spans, metrics.project_metrics)" timestamp: UnixTimestamp(1597976303), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", + "c:spans/usage@none", ), - value: Distribution( - [ - 3000.0, - ], + value: Counter( + 1.0, ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "http", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -3344,23 +1855,12 @@ expression: "(&event.value().unwrap().spans, metrics.project_metrics)" timestamp: UnixTimestamp(1597976303), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", + "c:spans/usage@none", ), - value: Distribution( - [ - 3000.0, - ], + value: Counter( + 1.0, ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "http", - "span.op": "http.client", - "span.status_code": "200", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -3373,27 +1873,12 @@ expression: "(&event.value().unwrap().spans, metrics.project_metrics)" timestamp: UnixTimestamp(1597976303), width: 0, name: MetricName( - "d:spans/duration@millisecond", + "c:spans/usage@none", ), - value: Distribution( - [ - 3000.0, - ], + value: Counter( + 1.0, ), - tags: { - "app_start_type": "warm", - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "http", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load", - "ttid": "ttid", - "user.geo.subregion": "21", - }, + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -3406,23 +1891,12 @@ expression: "(&event.value().unwrap().spans, metrics.project_metrics)" timestamp: UnixTimestamp(1597976303), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", + "c:spans/usage@none", ), - value: Distribution( - [ - 3000.0, - ], + value: Counter( + 1.0, ), - tags: { - "device.class": "1", - "os.name": "iOS", - "release": "1.2.3", - "span.category": "http", - "span.op": "http.client", - "span.status_code": "200", - "transaction.op": "ui.load", - "user.geo.subregion": "21", - }, + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( diff --git a/relay-server/src/metrics_extraction/snapshots/relay_server__metrics_extraction__event__tests__only_common.snap b/relay-server/src/metrics_extraction/snapshots/relay_server__metrics_extraction__event__tests__only_common.snap index 26d4222bcc3..010f9423e56 100644 --- a/relay-server/src/metrics_extraction/snapshots/relay_server__metrics_extraction__event__tests__only_common.snap +++ b/relay-server/src/metrics_extraction/snapshots/relay_server__metrics_extraction__event__tests__only_common.snap @@ -22,22 +22,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1619420400), + timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 59000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "myop", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -47,22 +40,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1619420400), + timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 59000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "myop", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -93,19 +79,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.react.render", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -118,19 +97,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.react.render", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -161,25 +133,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -192,22 +151,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -220,25 +169,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -251,22 +187,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -297,25 +223,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -328,22 +241,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -356,25 +259,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -387,22 +277,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -433,25 +313,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -464,22 +331,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -492,25 +349,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -523,22 +367,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -569,24 +403,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -599,21 +421,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -626,24 +439,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -656,21 +457,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -701,25 +493,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "span.status_code": "500", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -732,22 +511,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "span.status_code": "500", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -760,25 +529,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "span.status_code": "500", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -791,22 +547,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "span.status_code": "500", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -837,26 +583,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -869,23 +601,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -895,29 +616,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1695255152), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -927,26 +634,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1695255136), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -956,7 +652,7 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1694732408), width: 0, name: MetricName( "c:spans/usage@none", @@ -974,29 +670,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1694732408), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1009,23 +691,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1038,26 +709,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1070,23 +727,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1117,26 +763,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1149,84 +781,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1253,128 +813,6 @@ expression: metrics.project_metrics extracted_from_indexed: false, }, }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, Bucket { timestamp: UnixTimestamp(1597976302), width: 0, @@ -1393,128 +831,6 @@ expression: metrics.project_metrics extracted_from_indexed: false, }, }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, Bucket { timestamp: UnixTimestamp(1597976302), width: 0, @@ -1537,26 +853,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1569,23 +871,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1598,26 +889,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1630,23 +907,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1677,25 +943,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1708,22 +961,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1736,25 +979,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1767,22 +997,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1813,25 +1033,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1844,22 +1051,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1872,25 +1069,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1903,22 +1087,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1949,23 +1123,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -1978,20 +1141,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -2004,23 +1159,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -2033,20 +1177,12 @@ expression: metrics.project_metrics timestamp: UnixTimestamp(1597976302), width: 0, name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -2056,7 +1192,7 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1694732408), width: 0, name: MetricName( "c:spans/usage@none", @@ -2074,28 +1210,15 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), + timestamp: UnixTimestamp(1694732408), width: 0, name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, + "c:spans/usage@none", + ), + value: Counter( + 1.0, + ), + tags: {}, metadata: BucketMetadata { merges: 1, received_at: Some( @@ -2105,6022 +1228,7 @@ expression: metrics.project_metrics }, }, Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "COUNT", - "span.category": "db", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "COUNT", - "span.category": "db", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "COUNT", - "span.category": "db", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "COUNT", - "span.category": "db", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.mongodb.find", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.mongodb.find", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.activerecord", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.activerecord", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.activerecord", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.activerecord", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis.command", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis.command", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1695255152), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1695255152), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 15833.532095, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.load", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1695255152), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 15833.532095, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.load", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1695255136), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1695255136), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 1668.516159, - ], - ), - tags: { - "environment": "fake_environment", - "release": "1.2.3", - "span.description": "Cold Start", - "span.group": "2d675185edfeb30c", - "span.op": "app.start.cold", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1695255136), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 1668.516159, - ], - ), - tags: { - "environment": "fake_environment", - "release": "1.2.3", - "span.description": "Cold Start", - "span.group": "2d675185edfeb30c", - "span.op": "app.start.cold", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.response_content_length@byte", - ), - value: Distribution( - [ - 36170.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "transaction": "gEt /api/:version/users/", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.decoded_response_content_length@byte", - ), - value: Distribution( - [ - 128950.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.response_transfer_size@byte", - ), - value: Distribution( - [ - 36470.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.description": "https://*.domain.com/*/*.css", - "span.domain": "*.domain.com", - "span.group": "d744fa0716ef1142", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.response_content_length@byte", - ), - value: Distribution( - [ - 36170.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.decoded_response_content_length@byte", - ), - value: Distribution( - [ - 128950.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.response_transfer_size@byte", - ), - value: Distribution( - [ - 36470.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "resource.render_blocking_status": "blocking", - "span.description": "/static/myscript-*.js", - "span.domain": "*.example.com:5688", - "span.group": "89bda2e660f6236c", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.react.render", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.react.render", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET http://domain.tld", - "span.domain": "domain.tld", - "span.group": "d9dc18637d441612", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://domain.tld", - "span.domain": "domain.tld", - "span.group": "25faf23529f71d3e", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "PUT http://domain.tld", - "span.domain": "domain.tld", - "span.group": "488f09b46e5978be", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 0.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "GET *", - "span.group": "37e3d9fab1ae9162", - "span.op": "http.client", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://127.0.0.1:1234", - "span.domain": "127.0.0.1:1234", - "span.group": "464fe695f9cf639c", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain.tld:1234", - "span.domain": "targetdomain.tld:1234", - "span.group": "72ab88b506cb04b2", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://targetdomain:1234", - "span.domain": "targetdomain:1234", - "span.group": "c8e531abe96ff360", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "http", - "span.description": "POST http://*.domain.tld:1234", - "span.domain": "*.domain.tld:1234", - "span.group": "86818d1c74ecfc66", - "span.op": "http.client", - "span.status_code": "200", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SeLeCt column FROM tAbLe WHERE id IN (%s)", - "span.domain": "table", - "span.group": "f4a7fef06db3d88e", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "select column FROM table WHERE id IN (%s)", - "span.domain": "table", - "span.group": "4f9711d2d09963b9", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.description": "INSERT INTO from_date (..) VALUES (%s)", - "span.domain": ",from_date,", - "span.group": "e4ea457c8e7e4109", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "INSERT", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT * FROM table WHERE id IN (val)", - "span.domain": "table", - "span.group": "03cb381cee3f1463", - "span.op": "db.sql.query", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT col FROM table WHERE col = %s", - "span.domain": ",table,", - "span.group": "e0f7e81a59b030ba", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "DELETE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "UPDATE", - "span.category": "db", - "span.domain": "table", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - "transaction": "gEt /api/:version/users/", - "transaction.method": "POST", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.action": "SAVEPOINT", - "span.category": "db", - "span.description": "SAVEPOINT %s", - "span.group": "3f955cbde39e04b9", - "span.op": "db", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "db.redis", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "browser-extension://*", - "span.domain": "*", - "span.group": "3e92c536f98104b2", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "browser-extension://*", - "span.domain": "*", - "span.group": "3e92c536f98104b2", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "browser-extension://*", - "span.domain": "*", - "span.group": "3e92c536f98104b2", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "browser-extension://*", - "span.domain": "*", - "span.group": "3e92c536f98104b2", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1597976302), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 2000.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "js", - "span.category": "resource", - "span.description": "http://domain/static/myscript-*.js", - "span.domain": "domain", - "span.group": "022f81fdf31228bf", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.category": "resource", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.response_content_length@byte", - ), - value: Distribution( - [ - 36170.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "transaction": "gEt /api/:version/users/", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.decoded_response_content_length@byte", - ), - value: Distribution( - [ - 128950.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/http.response_transfer_size@byte", - ), - value: Distribution( - [ - 36470.0, - ], - ), - tags: { - "environment": "fake_environment", - "file_extension": "css", - "resource.render_blocking_status": "blocking", - "span.description": "https://*.domain.com/*/*.CSS", - "span.domain": "*.domain.com", - "span.group": "7f402250846262be", - "span.op": "resource.css", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "c:spans/usage@none", - ), - value: Counter( - 1.0, - ), - tags: {}, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "*/zero-length-*", - "span.group": "c7d3c9d83f92123a", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "*/zero-length-*", - "span.group": "c7d3c9d83f92123a", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "*/zero-length-*", - "span.group": "c7d3c9d83f92123a", - "span.op": "resource.script", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1694732408), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 477.800131, - ], - ), - tags: { - "environment": "fake_environment", - "span.category": "resource", - "span.description": "*/zero-length-*", - "span.group": "c7d3c9d83f92123a", - "span.op": "resource.script", - "user.geo.subregion": "155", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), + timestamp: UnixTimestamp(1702474613), width: 0, name: MetricName( "c:spans/usage@none", @@ -8137,106 +1245,6 @@ expression: metrics.project_metrics extracted_from_indexed: false, }, }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.interaction.click", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/exclusive_time_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "span.category": "ui", - "span.description": "my-component-name", - "span.group": "e674f9eca1d88a4d", - "span.op": "ui.interaction.click", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "environment": "fake_environment", - "span.op": "ui.interaction.click", - "transaction": "gEt /api/:version/users/", - "transaction.op": "myop", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, - Bucket { - timestamp: UnixTimestamp(1702474613), - width: 0, - name: MetricName( - "d:spans/duration_light@millisecond", - ), - value: Distribution( - [ - 32.000065, - ], - ), - tags: { - "span.category": "ui", - "span.description": "my-component-name", - "span.group": "e674f9eca1d88a4d", - "span.op": "ui.interaction.click", - }, - metadata: BucketMetadata { - merges: 1, - received_at: Some( - UnixTimestamp(0), - ), - extracted_from_indexed: false, - }, - }, Bucket { timestamp: UnixTimestamp(1702474613), width: 0, From 8f191914fd6270a3cb60adfd5a0531cd5329ed2d Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Fri, 11 Jul 2025 09:54:45 -0700 Subject: [PATCH 04/22] Remove unneded tests --- tests/integration/test_metrics.py | 320 ------------------------------ tests/integration/test_outcome.py | 3 - tests/integration/test_spans.py | 12 -- 3 files changed, 335 deletions(-) diff --git a/tests/integration/test_metrics.py b/tests/integration/test_metrics.py index 711926cbe4d..f61ab47f3ba 100644 --- a/tests/integration/test_metrics.py +++ b/tests/integration/test_metrics.py @@ -1,4 +1,3 @@ -import hashlib from collections import defaultdict from datetime import UTC, datetime, timedelta, timezone from pathlib import Path @@ -766,7 +765,6 @@ def test_transaction_metrics( config["transactionMetrics"] = { "version": TRANSACTION_EXTRACT_MIN_SUPPORTED_VERSION, } - config.setdefault("features", []).append("projects:span-metrics-extraction") transaction = generate_transaction_item() transaction["timestamp"] = timestamp.isoformat() @@ -1347,199 +1345,6 @@ def test_limit_custom_measurements( } -@pytest.mark.parametrize( - "sent_description, expected_description", - [ - ( - "SELECT column FROM table1 WHERE another_col = %s", - "SELECT column FROM table1 WHERE another_col = %s", - ), - ( - "SELECT column FROM table1 WHERE another_col = %s AND yet_another_col = something_very_longgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg", - "SELECT column FROM table1 WHERE another_col = %s AND yet_another_col = something_very_longggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg*", - ), - ], - ids=["Must not truncate short descriptions", "Must truncate long descriptions"], -) -def test_span_metrics( - transactions_consumer, - metrics_consumer, - mini_sentry, - relay_with_processing, - sent_description, - expected_description, -): - project_id = 42 - mini_sentry.add_full_project_config(project_id) - config = mini_sentry.project_configs[project_id]["config"] - config["transactionMetrics"] = { - "version": TRANSACTION_EXTRACT_MIN_SUPPORTED_VERSION, - } - config.setdefault("features", []).append("projects:span-metrics-extraction") - - transaction = { - "event_id": "d2132d31b39445f1938d7e21b6bf0ec4", - "type": "transaction", - "transaction": "/organizations/:orgId/performance/:eventSlug/", - "transaction_info": {"source": "route"}, - "start_timestamp": 1597976392.6542819, - "timestamp": 1597976400.6189718, - "user": {"id": "user123", "geo": {"country_code": "ES"}}, - "contexts": { - "trace": { - "trace_id": "4C79F60C11214EB38604F4AE0781BFB2", - "span_id": "FA90FDEAD5F74052", - "type": "trace", - "op": "my-transaction-op", - } - }, - "spans": [ - { - "description": sent_description, - "op": "db", - "parent_span_id": "8f5a2b8768cafb4e", - "span_id": "bd429c44b67a3eb4", - "start_timestamp": 1597976393.4619668, - "timestamp": 1597976393.4718769, - "trace_id": "ff62a8b040f340bda5d830223def1d81", - } - ], - } - # Default timestamp is so old that relay drops metrics, setting a more recent one avoids the drop. - timestamp = datetime.now(tz=timezone.utc) - transaction["timestamp"] = transaction["spans"][0]["timestamp"] = ( - timestamp.isoformat() - ) - - metrics_consumer = metrics_consumer() - tx_consumer = transactions_consumer() - processing = relay_with_processing(options=TEST_CONFIG) - processing.send_transaction(project_id, transaction) - - transaction, _ = tx_consumer.get_event() - assert transaction["spans"][0]["description"] == sent_description - - expected_group = hashlib.md5(sent_description.encode("utf-8")).hexdigest()[:16] - - metrics = metrics_consumer.get_metrics() - span_metrics = [ - (metric, headers) - for metric, headers in metrics - if metric["name"].startswith("spans", 2) - ] - assert len(span_metrics) == 8 - for metric, headers in span_metrics: - assert headers == [("namespace", b"spans")] - if metric["name"] in ( - "c:spans/usage@none", - "c:spans/count_per_root_project@none", - "d:spans/duration@millisecond", - "d:spans/duration_light@millisecond", - ): - continue - - # Ignore transaction spans - if metric["tags"]["span.op"] != "my-transaction-op": - assert metric["tags"]["span.description"] == expected_description, metric - assert metric["tags"]["span.group"] == expected_group, metric - - -def test_mongodb_span_metrics_extracted( - transactions_consumer, - metrics_consumer, - mini_sentry, - relay_with_processing, -): - project_id = 42 - mini_sentry.add_full_project_config(project_id) - config = mini_sentry.project_configs[project_id]["config"] - config["transactionMetrics"] = { - "version": TRANSACTION_EXTRACT_MIN_SUPPORTED_VERSION, - } - config.setdefault("features", []).extend( - [ - "projects:span-metrics-extraction", - ] - ) - - sent_description = '{"find": "documents", "foo": "bar"}' - expected_description = '{"find":"documents","foo":"?"}' - - transaction = { - "event_id": "d2132d31b39445f1938d7e21b6bf0ec4", - "type": "transaction", - "transaction": "/organizations/:orgId/performance/:eventSlug/", - "transaction_info": {"source": "route"}, - "start_timestamp": 1597976392.6542819, - "timestamp": 1597976400.6189718, - "user": {"id": "user123", "geo": {"country_code": "ES"}}, - "contexts": { - "trace": { - "trace_id": "4C79F60C11214EB38604F4AE0781BFB2", - "span_id": "FA90FDEAD5F74052", - "type": "trace", - "op": "my-transaction-op", - } - }, - "spans": [ - { - "description": sent_description, - "op": "db", - "parent_span_id": "8f5a2b8768cafb4e", - "span_id": "bd429c44b67a3eb4", - "start_timestamp": 1597976393.4619668, - "timestamp": 1597976393.4718769, - "trace_id": "ff62a8b040f340bda5d830223def1d81", - "data": { - "db.system": "mongodb", - "db.collection.name": "documents", - "db.operation": "find", - }, - } - ], - } - # Default timestamp is so old that relay drops metrics, setting a more recent one avoids the drop. - timestamp = datetime.now(tz=timezone.utc) - transaction["timestamp"] = transaction["spans"][0]["timestamp"] = ( - timestamp.isoformat() - ) - - metrics_consumer = metrics_consumer() - tx_consumer = transactions_consumer() - processing = relay_with_processing(options=TEST_CONFIG) - processing.send_transaction(project_id, transaction) - - transaction, _ = tx_consumer.get_event() - assert transaction["spans"][0]["description"] == sent_description - - expected_group = hashlib.md5(expected_description.encode("utf-8")).hexdigest()[:16] - - metrics = metrics_consumer.get_metrics() - span_metrics = [ - (metric, headers) - for metric, headers in metrics - if metric["name"].startswith("spans", 2) - ] - assert len(span_metrics) == 8 - - for metric, headers in span_metrics: - assert headers == [("namespace", b"spans")] - if metric["name"] in ( - "c:spans/usage@none", - "c:spans/count_per_root_project@none", - "d:spans/duration@millisecond", - "d:spans/duration_light@millisecond", - ): - continue - - # Ignore transaction spans - if metric["tags"]["span.op"] != "my-transaction-op": - assert metric["tags"]["span.action"] == "FIND", metric - assert metric["tags"]["span.description"] == expected_description, metric - assert metric["tags"]["span.domain"] == "documents", metric - assert metric["tags"]["span.group"] == expected_group, metric - - def test_generic_metric_extraction(mini_sentry, relay): PROJECT_ID = 42 mini_sentry.add_full_project_config(PROJECT_ID) @@ -1606,131 +1411,6 @@ def test_generic_metric_extraction(mini_sentry, relay): } in metrics -def test_span_metrics_secondary_aggregator( - metrics_consumer, - mini_sentry, - relay_with_processing, -): - project_id = 42 - mini_sentry.add_full_project_config(project_id) - config = mini_sentry.project_configs[project_id]["config"] - config["transactionMetrics"] = { - "version": TRANSACTION_EXTRACT_MIN_SUPPORTED_VERSION, - } - config.setdefault("features", []).append("projects:span-metrics-extraction") - - transaction = { - "event_id": "d2132d31b39445f1938d7e21b6bf0ec4", - "type": "transaction", - "transaction": "/organizations/:orgId/performance/:eventSlug/", - "transaction_info": {"source": "route"}, - "start_timestamp": 1597976392.6542819, - "timestamp": 1597976400.6189718, - "user": {"id": "user123", "geo": {"country_code": "ES"}}, - "contexts": { - "trace": { - "trace_id": "4C79F60C11214EB38604F4AE0781BFB2", - "span_id": "FA90FDEAD5F74052", - "type": "trace", - } - }, - "spans": [ - { - "description": "SELECT %s FROM foo", - "op": "db", - "parent_span_id": "FA90FDEAD5F74052", - "span_id": "bd429c44b67a3eb4", - "start_timestamp": 1597976393.4619668, - "timestamp": 1597976393.4718769, - "trace_id": "ff62a8b040f340bda5d830223def1d81", - } - ], - } - # Default timestamp is so old that relay drops metrics, setting a more recent one avoids the drop. - timestamp = datetime.now(tz=timezone.utc) - transaction["timestamp"] = transaction["spans"][0]["timestamp"] = ( - timestamp.isoformat() - ) - transaction["start_timestamp"] = ( - timestamp - timedelta(milliseconds=126) - ).isoformat() - transaction["spans"][0]["start_timestamp"] = ( - timestamp - timedelta(milliseconds=123) - ).isoformat() - - metrics_consumer = metrics_consumer() - processing = relay_with_processing( - options={ - "aggregator": { - # No metrics will arrive through the default aggregator: - "bucket_interval": 100, - "initial_delay": 100, - }, - "secondary_aggregators": [ - { - "name": "spans", - "condition": {"op": "eq", "field": "namespace", "value": "spans"}, - "config": { - # The spans-specific aggregator has config that will deliver metrics: - "bucket_interval": 1, - "initial_delay": 0, - "max_tag_value_length": 10, - }, - } - ], - } - ) - processing.send_transaction(project_id, transaction) - - metrics = metrics_consumer.get_metrics() - # Transaction metrics are still aggregated: - assert all([m[0]["name"].startswith("spans", 2) for m in metrics]) - - span_metrics = [ - (metric, headers) - for metric, headers in metrics - if metric["name"] == "d:spans/exclusive_time@millisecond" - ] - span_metrics.sort(key=lambda m: m[0]["tags"]["span.op"]) - timestamp = int(timestamp.timestamp()) - assert span_metrics == [ - ( - { - "name": "d:spans/exclusive_time@millisecond", - "org_id": 1, - "project_id": 42, - "retention_days": 90, - "tags": { - "span.action": "SELECT", - "span.description": "SELECT %s*", - "span.category": "db", - "span.domain": ",foo,", - "span.op": "db", - }, - "timestamp": time_after(timestamp), - "type": "d", - "value": [123.0], - "received_at": time_after(timestamp), - }, - [("namespace", b"spans")], - ), - ( - { - "name": "d:spans/exclusive_time@millisecond", - "org_id": 1, - "project_id": 42, - "retention_days": 90, - "tags": {"span.op": "default"}, - "timestamp": time_after(timestamp), - "type": "d", - "value": [3.0], - "received_at": time_after(timestamp), - }, - [("namespace", b"spans")], - ), - ] - - def test_custom_metrics_disabled(mini_sentry, relay_with_processing, metrics_consumer): relay = relay_with_processing(options=TEST_CONFIG) metrics_consumer = metrics_consumer() diff --git a/tests/integration/test_outcome.py b/tests/integration/test_outcome.py index 29bc17c5192..a5eb6ce2af4 100644 --- a/tests/integration/test_outcome.py +++ b/tests/integration/test_outcome.py @@ -1894,7 +1894,6 @@ def test_span_outcomes( project_config.setdefault("features", []).extend( [ - "projects:span-metrics-extraction", "organizations:indexed-spans-extraction", ] ) @@ -2028,8 +2027,6 @@ def test_span_outcomes_invalid( project_config.setdefault("features", []).extend( [ - "projects:span-metrics-extraction", - "projects:span-metrics-extraction-all-modules", "organizations:standalone-span-ingestion", ] ) diff --git a/tests/integration/test_spans.py b/tests/integration/test_spans.py index 5d85bfa956b..7820cd1398d 100644 --- a/tests/integration/test_spans.py +++ b/tests/integration/test_spans.py @@ -45,7 +45,6 @@ def test_span_extraction( project_id = 42 project_config = mini_sentry.add_full_project_config(project_id) project_config["config"]["features"] = [ - "projects:span-metrics-extraction", "organizations:indexed-spans-extraction", ] project_config["config"]["transactionMetrics"] = { @@ -264,7 +263,6 @@ def test_span_extraction_with_sampling( project_id = 42 project_config = mini_sentry.add_full_project_config(project_id) project_config["config"]["features"] = [ - "projects:span-metrics-extraction", "organizations:indexed-spans-extraction", ] project_config["config"]["transactionMetrics"] = { @@ -309,7 +307,6 @@ def test_duplicate_performance_score(mini_sentry, relay): project_id = 42 project_config = mini_sentry.add_full_project_config(project_id) project_config["config"]["features"] = [ - "projects:span-metrics-extraction", "organizations:indexed-spans-extraction", ] project_config["config"]["transactionMetrics"] = { @@ -681,7 +678,6 @@ def test_span_ingestion( project_config = mini_sentry.add_full_project_config(project_id) project_config["config"]["features"] = [ "organizations:standalone-span-ingestion", - "projects:span-metrics-extraction", "projects:relay-otel-endpoint", ] project_config["config"]["transactionMetrics"] = { @@ -1375,7 +1371,6 @@ def test_standalone_span_ingestion_metric_extraction( project_config = mini_sentry.add_full_project_config(project_id) project_config["config"]["features"] = [ "organizations:standalone-span-ingestion", - "projects:span-metrics-extraction", # "projects:relay-otel-endpoint", ] @@ -1750,7 +1745,6 @@ def test_span_ingestion_with_performance_scores( project_config["config"]["features"] = [ "organizations:performance-calculate-score-relay", "organizations:standalone-span-ingestion", - "projects:span-metrics-extraction", ] project_config["config"]["txNameRules"] = [ { @@ -1980,7 +1974,6 @@ def test_rate_limit_indexed_consistent( project_id = 42 project_config = mini_sentry.add_full_project_config(project_id) project_config["config"]["features"] = [ - "projects:span-metrics-extraction", "organizations:standalone-span-ingestion", ] project_config["config"]["quotas"] = [ @@ -2040,7 +2033,6 @@ def test_rate_limit_consistent_extracted( "version": TRANSACTION_EXTRACT_MIN_SUPPORTED_VERSION } project_config["config"]["features"] = [ - "projects:span-metrics-extraction", "organizations:indexed-spans-extraction", ] project_config["config"]["quotas"] = [ @@ -2130,7 +2122,6 @@ def test_rate_limit_spans_in_envelope( project_id = 42 project_config = mini_sentry.add_full_project_config(project_id) project_config["config"]["features"] = [ - "projects:span-metrics-extraction", "organizations:standalone-span-ingestion", ] project_config["config"]["quotas"] = [ @@ -2188,7 +2179,6 @@ def test_rate_limit_is_consistent_between_transaction_and_spans( project_id = 42 project_config = mini_sentry.add_full_project_config(project_id) project_config["config"]["features"] = [ - "projects:span-metrics-extraction", "organizations:standalone-span-ingestion", "organizations:indexed-spans-extraction", ] @@ -2327,7 +2317,6 @@ def test_span_extraction_with_tags( project_id = 42 project_config = mini_sentry.add_full_project_config(project_id) project_config["config"]["features"] = [ - "projects:span-metrics-extraction", "organizations:indexed-spans-extraction", ] @@ -2614,7 +2603,6 @@ def test_scrubs_ip_addresses( project_id = 42 project_config = mini_sentry.add_full_project_config(project_id) project_config["config"]["features"] = [ - "projects:span-metrics-extraction", "organizations:indexed-spans-extraction", ] project_config["config"].setdefault("datascrubbingSettings", {})[ From e431ebcc7d47df45c3f0f70482ec17c19b4eb178 Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Fri, 11 Jul 2025 09:59:55 -0700 Subject: [PATCH 05/22] Remove more tests --- relay-server/src/metrics_extraction/event.rs | 624 ------------------ .../src/services/processor/span/processing.rs | 9 +- 2 files changed, 1 insertion(+), 632 deletions(-) diff --git a/relay-server/src/metrics_extraction/event.rs b/relay-server/src/metrics_extraction/event.rs index 0e87b668300..5b5c1f51907 100644 --- a/relay-server/src/metrics_extraction/event.rs +++ b/relay-server/src/metrics_extraction/event.rs @@ -167,14 +167,11 @@ pub fn create_span_root_counter( mod tests { use std::collections::BTreeSet; - use chrono::{DateTime, Utc}; - use insta::assert_debug_snapshot; use relay_dynamic_config::{ ErrorBoundary, Feature, FeatureSet, GlobalConfig, MetricExtractionConfig, MetricExtractionGroups, ProjectConfig, }; use relay_event_normalization::{NormalizationConfig, normalize_event}; - use relay_event_schema::protocol::Timestamp; use relay_protocol::Annotated; use super::*; @@ -1295,625 +1292,4 @@ mod tests { assert_eq!(metrics.len(), 75); assert!(metrics.iter().all(|b| &b.name == "c:spans/usage@none")); } - - #[test] - fn only_common() { - let metrics = extract_span_metrics([Feature::ExtractCommonSpanMetricsFromEvent]); - insta::assert_debug_snapshot!(metrics.project_metrics); - } - - #[test] - fn only_addons() { - // Nothing is extracted without the common flag: - let metrics = extract_span_metrics([Feature::ExtractAddonsSpanMetricsFromEvent]); - assert!(metrics.project_metrics.is_empty()); - } - - #[test] - fn both_feature_flags_enabled() { - let metrics = extract_span_metrics([ - Feature::ExtractCommonSpanMetricsFromEvent, - Feature::ExtractAddonsSpanMetricsFromEvent, - ]); - insta::assert_debug_snapshot!(metrics.project_metrics); - } - - const MOBILE_EVENT: &str = r#" - { - "type": "transaction", - "user": { - "id": "user123", - "geo": { - "country_code": "US", - "city": "Washington", - "subdivision": "Virginia", - "region": "United States" - } - }, - "sdk": {"name": "sentry.javascript.react-native"}, - "start_timestamp": "2021-04-26T07:59:01+0100", - "timestamp": "2021-04-26T08:00:00+0100", - "release": "1.2.3", - "transaction": "gEt /api/:version/users/", - "transaction_info": {"source": "custom"}, - "platform": "cocoa", - "contexts": { - "trace": { - "trace_id": "ff62a8b040f340bda5d830223def1d81", - "span_id": "bd429c44b67a3eb4", - "op": "ui.load" - }, - "device": { - "family": "iOS", - "model": "iPhone1,1" - }, - "app": { - "app_identifier": "org.reactjs.native.example.RnDiffApp", - "app_name": "RnDiffApp" - }, - "os": { - "name": "iOS", - "version": "16.2" - } - }, - "measurements": { - "app_start_warm": { - "value": 1.0, - "unit": "millisecond" - } - }, - "spans": [ - { - "op": "app.start.cold", - "span_id": "bd429c44b67a3eb4", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976302.0000000, - "trace_id": "ff62a8b040f340bda5d830223def1d81" - }, - { - "op": "ui.load.initial_display", - "span_id": "bd429c44b67a3eb2", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976303.0000000, - "trace_id": "ff62a8b040f340bda5d830223def1d81", - "data": { - "frames.slow": 1, - "frames.frozen": 2, - "frames.total": 9, - "frames.delay": 0.1 - } - }, - { - "op": "app.start.cold", - "description": "Cold Start", - "span_id": "bd429c44b67a3eb2", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976303.0000000, - "trace_id": "ff62a8b040f340bda5d830223def1d81" - }, - { - "op": "custom.op", - "description": "Custom Op", - "span_id": "bd429c44b67a3eb2", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976303.0000000, - "trace_id": "ff62a8b040f340bda5d830223def1d81" - }, - { - "op": "contentprovider.load", - "description": "io.sentry.android.core.SentryPerformanceProvider.onCreate", - "span_id": "bd429c44b67a3eb2", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976303.0000000, - "trace_id": "ff62a8b040f340bda5d830223def1d81" - }, - { - "op": "application.load", - "description": "io.sentry.samples.android.MyApplication.onCreate", - "span_id": "bd429c44b67a3eb2", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976303.0000000, - "trace_id": "ff62a8b040f340bda5d830223def1d81" - }, - { - "op": "activity.load", - "description": "io.sentry.samples.android.MainActivity.onCreate", - "span_id": "bd429c44b67a3eb2", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976303.0000000, - "trace_id": "ff62a8b040f340bda5d830223def1d81", - "data": { - "app_start_type": "cold" - } - }, - { - "op": "process.load", - "description": "Process Initialization", - "span_id": "bd429c44b67a3eb2", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976303.0000000, - "trace_id": "ff62a8b040f340bda5d830223def1d81", - "data": { - "app_start_type": "cold" - } - }, - { - "op": "file.read", - "description": "somebackup.212321", - "span_id": "bd429c44b67a3eb2", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976303.0000000, - "trace_id": "ff62a8b040f340bda5d830223def1d81" - }, - { - "op": "http.client", - "description": "www.example.com", - "span_id": "bd429c44b67a3eb2", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976303.0000000, - "trace_id": "ff62a8b040f340bda5d830223def1d81", - "data": { - "http.response.status_code": "200" - } - }, - { - "op": "http.client", - "description": "www.example.com", - "span_id": "bd429c44b67a3eb2", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976303.0000000, - "trace_id": "ff62a8b040f340bda5d830223def1d81", - "data": { - "http.response.status_code": 200 - } - } - ] - } - "#; - - #[test] - fn test_extract_span_metrics_mobile() { - let mut event = Annotated::from_json(MOBILE_EVENT).unwrap(); - - // Normalize first, to make sure that all things are correct as in the real pipeline: - normalize_event( - &mut event, - &NormalizationConfig { - enrich_spans: true, - device_class_synthesis_config: true, - ..Default::default() - }, - ); - - let metrics = extract_metrics( - event.value_mut().as_mut().unwrap(), - combined_config([Feature::ExtractCommonSpanMetricsFromEvent], None).combined(), - SamplingDecision::Keep, - ProjectId::new(4711), - 200, - true, - ); - insta::assert_debug_snapshot!((&event.value().unwrap().spans, metrics.project_metrics)); - } - - #[test] - fn test_extract_span_metrics_mobile_screen() { - let json = r#" - { - "type": "transaction", - "sdk": {"name": "sentry.javascript.react-native"}, - "start_timestamp": "2021-04-26T07:59:01+0100", - "timestamp": "2021-04-26T08:00:00+0100", - "transaction": "gEt /api/:version/users/", - "contexts": { - "trace": { - "op": "ui.load", - "trace_id": "ff62a8b040f340bda5d830223def1d81", - "span_id": "bd429c44b67a3eb4" - } - }, - "spans": [ - { - "description": "GET http://domain.tld/hi", - "op": "http.client", - "parent_span_id": "bd429c44b67a3eb4", - "span_id": "bd429c44b67a3eb4", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976302.0000000, - "exclusive_time": 2000.0, - "trace_id": "ff62a8b040f340bda5d830223def1d81", - "data": { - "http.method": "GET" - }, - "sentry_tags": { - "action": "GET", - "category": "http", - "description": "GET http://domain.tld", - "domain": "domain.tld", - "group": "d9dc18637d441612", - "mobile": "true", - "op": "http.client", - "transaction": "gEt /api/:version/users/", - "transaction.method": "GET", - "transaction.op": "ui.load" - } - } - ] - } - "#; - let mut event = Annotated::from_json(json).unwrap(); - - let metrics = extract_metrics( - event.value_mut().as_mut().unwrap(), - combined_config([Feature::ExtractCommonSpanMetricsFromEvent], None).combined(), - SamplingDecision::Keep, - ProjectId::new(4711), - 200, - true, - ); - - // When transaction.op:ui.load and mobile:true, HTTP spans still get both - // exclusive_time metrics: - assert!( - metrics - .project_metrics - .iter() - .any(|b| &*b.name == "d:spans/exclusive_time@millisecond") - ); - assert!( - metrics - .project_metrics - .iter() - .any(|b| &*b.name == "d:spans/exclusive_time_light@millisecond") - ); - } - - #[test] - fn test_extract_span_metrics_usage() { - let mut event = Annotated::from_json(MOBILE_EVENT).unwrap(); - - // Normalize first, to make sure that all things are correct as in the real pipeline: - normalize_event( - &mut event, - &NormalizationConfig { - enrich_spans: true, - device_class_synthesis_config: true, - ..Default::default() - }, - ); - - let metrics = extract_metrics( - event.value_mut().as_mut().unwrap(), - combined_config([Feature::ExtractCommonSpanMetricsFromEvent], None).combined(), - SamplingDecision::Keep, - ProjectId::new(4711), - 200, - true, - ); - - let usage_metrics = metrics - .project_metrics - .into_iter() - .filter(|b| &*b.name == "c:spans/usage@none") - .collect::>(); - - let expected_usage = 12; // We count all spans received by Relay, plus one for the transaction - assert_eq!(usage_metrics.len(), expected_usage); - for m in usage_metrics { - assert!(m.tags.is_empty()); - } - } - - /// Helper function for span metric extraction tests. - fn extract_span_metrics_mobile(span_op: &str, duration_millis: f64) -> Vec { - let mut span = Span::default(); - span.sentry_tags.get_or_insert_with(Default::default).mobile = "true".to_owned().into(); - span.timestamp - .set_value(Some(Timestamp::from(DateTime::::MAX_UTC))); // whatever - span.op.set_value(Some(span_op.into())); - span.exclusive_time.set_value(Some(duration_millis)); - - generic::extract_metrics( - &span, - combined_config([Feature::ExtractCommonSpanMetricsFromEvent], None).combined(), - ) - } - - #[test] - fn test_app_start_cold_inlier() { - let metrics = extract_span_metrics_mobile("app.start.cold", 180000.0); - assert_eq!( - metrics.iter().map(|m| &*m.name).collect::>(), - vec![ - "c:spans/usage@none", - "d:spans/exclusive_time@millisecond", - "d:spans/exclusive_time_light@millisecond", - ] - ); - } - - #[test] - fn test_app_start_cold_outlier() { - let metrics = extract_span_metrics_mobile("app.start.cold", 181000.0); - assert_eq!( - metrics.iter().map(|m| &*m.name).collect::>(), - vec!["c:spans/usage@none", "d:spans/exclusive_time@millisecond",] - ); - } - - #[test] - fn test_app_start_warm_inlier() { - let metrics = extract_span_metrics_mobile("app.start.warm", 180000.0); - assert_eq!( - metrics.iter().map(|m| &*m.name).collect::>(), - vec![ - "c:spans/usage@none", - "d:spans/exclusive_time@millisecond", - "d:spans/exclusive_time_light@millisecond", - ] - ); - } - - #[test] - fn test_app_start_warm_outlier() { - let metrics = extract_span_metrics_mobile("app.start.warm", 181000.0); - assert_eq!( - metrics.iter().map(|m| &*m.name).collect::>(), - vec!["c:spans/usage@none", "d:spans/exclusive_time@millisecond",] - ); - } - - #[test] - fn test_ui_load_initial_display_inlier() { - let metrics = extract_span_metrics_mobile("ui.load.initial_display", 180000.0); - assert_eq!( - metrics.iter().map(|m| &*m.name).collect::>(), - vec![ - "c:spans/usage@none", - "d:spans/exclusive_time@millisecond", - "d:spans/exclusive_time_light@millisecond", - ] - ); - } - - #[test] - fn test_ui_load_initial_display_outlier() { - let metrics = extract_span_metrics_mobile("ui.load.initial_display", 181000.0); - assert_eq!( - metrics.iter().map(|m| &*m.name).collect::>(), - vec!["c:spans/usage@none", "d:spans/exclusive_time@millisecond",] - ); - } - - #[test] - fn test_ui_load_full_display_inlier() { - let metrics = extract_span_metrics_mobile("ui.load.full_display", 180000.0); - assert_eq!( - metrics.iter().map(|m| &*m.name).collect::>(), - vec![ - "c:spans/usage@none", - "d:spans/exclusive_time@millisecond", - "d:spans/exclusive_time_light@millisecond", - ] - ); - } - - #[test] - fn test_ui_load_full_display_outlier() { - let metrics = extract_span_metrics_mobile("ui.load.full_display", 181000.0); - assert_eq!( - metrics.iter().map(|m| &*m.name).collect::>(), - vec!["c:spans/usage@none", "d:spans/exclusive_time@millisecond",] - ); - } - - #[test] - fn test_display_times_extracted() { - let span = r#"{ - "op": "ui.load", - "span_id": "bd429c44b67a3eb4", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976302.0000000, - "exclusive_time": 100, - "trace_id": "ff62a8b040f340bda5d830223def1d81", - "sentry_tags": { - "mobile": "true", - "ttid": "ttid", - "ttfd": "ttfd" - } - }"#; - let span = Annotated::::from_json(span) - .unwrap() - .into_value() - .unwrap(); - let metrics = generic::extract_metrics( - &span, - combined_config([Feature::ExtractCommonSpanMetricsFromEvent], None).combined(), - ); - - assert!(!metrics.is_empty()); - for metric in metrics { - if &*metric.name == "d:spans/exclusive_time@millisecond" - || &*metric.name == "d:spans/duration@millisecond" - { - assert_eq!(metric.tag("ttid"), Some("ttid")); - assert_eq!(metric.tag("ttfd"), Some("ttfd")); - } else { - assert!(!metric.tags.contains_key("ttid")); - assert!(!metric.tags.contains_key("ttfd")); - } - } - } - - #[test] - fn test_extract_span_metrics_inp_performance_score() { - let json = r#" - { - "op": "ui.interaction.click", - "parent_span_id": "bd429c44b67a3eb4", - "span_id": "bd429c44b67a3eb4", - "start_timestamp": 1597976300.0000000, - "timestamp": 1597976302.0000000, - "exclusive_time": 2000.0, - "trace_id": "ff62a8b040f340bda5d830223def1d81", - "sentry_tags": { - "browser.name": "Chrome", - "op": "ui.interaction.click" - }, - "measurements": { - "score.total": {"value": 1.0}, - "score.inp": {"value": 1.0}, - "score.weight.inp": {"value": 1.0}, - "inp": {"value": 1.0} - } - } - "#; - let span = Annotated::::from_json(json).unwrap(); - let metrics = generic::extract_metrics( - span.value().unwrap(), - combined_config([Feature::ExtractCommonSpanMetricsFromEvent], None).combined(), - ); - - for mri in [ - "d:spans/webvital.inp@millisecond", - "d:spans/webvital.score.inp@ratio", - "d:spans/webvital.score.total@ratio", - "d:spans/webvital.score.weight.inp@ratio", - ] { - assert!(metrics.iter().any(|b| &*b.name == mri)); - assert!(metrics.iter().any(|b| b.tags.contains_key("browser.name"))); - assert!(metrics.iter().any(|b| b.tags.contains_key("span.op"))); - } - } - - #[test] - fn test_extract_span_metrics_cls_performance_score() { - let json = r#" - { - "op": "ui.webvital.cls", - "span_id": "bd429c44b67a3eb4", - "start_timestamp": 1597976302.0000000, - "timestamp": 1597976302.0000000, - "exclusive_time": 0, - "trace_id": "ff62a8b040f340bda5d830223def1d81", - "sentry_tags": { - "browser.name": "Chrome", - "op": "ui.webvital.cls" - }, - "measurements": { - "score.total": {"value": 1.0}, - "score.cls": {"value": 1.0}, - "score.weight.cls": {"value": 1.0}, - "cls": {"value": 1.0} - } - } - "#; - let span = Annotated::::from_json(json).unwrap(); - let metrics = generic::extract_metrics( - span.value().unwrap(), - combined_config([Feature::ExtractCommonSpanMetricsFromEvent], None).combined(), - ); - - for mri in [ - "d:transactions/measurements.cls@none", - "d:transactions/measurements.score.cls@ratio", - "d:transactions/measurements.score.total@ratio", - "d:transactions/measurements.score.weight.cls@ratio", - ] { - assert!(metrics.iter().any(|b| &*b.name == mri)); - assert!(metrics.iter().any(|b| b.tags.contains_key("browser.name"))); - assert!(metrics.iter().any(|b| b.tags.contains_key("span.op"))); - } - } - - #[test] - fn test_extract_span_metrics_lcp_performance_score() { - let json = r#" - { - "op": "ui.webvital.lcp", - "span_id": "bd429c44b67a3eb4", - "start_timestamp": 1597976302.0000000, - "timestamp": 1597976302.0000000, - "exclusive_time": 0, - "trace_id": "ff62a8b040f340bda5d830223def1d81", - "sentry_tags": { - "browser.name": "Chrome", - "op": "ui.webvital.lcp" - }, - "measurements": { - "score.total": {"value": 1.0}, - "score.lcp": {"value": 1.0}, - "score.weight.lcp": {"value": 1.0}, - "lcp": {"value": 1200.0} - } - } - "#; - let span = Annotated::::from_json(json).unwrap(); - let metrics = generic::extract_metrics( - span.value().unwrap(), - combined_config([Feature::ExtractCommonSpanMetricsFromEvent], None).combined(), - ); - - for mri in [ - "d:transactions/measurements.lcp@millisecond", - "d:transactions/measurements.score.lcp@ratio", - "d:transactions/measurements.score.total@ratio", - "d:transactions/measurements.score.weight.lcp@ratio", - ] { - assert!(metrics.iter().any(|b| &*b.name == mri)); - assert!(metrics.iter().any(|b| b.tags.contains_key("browser.name"))); - assert!(metrics.iter().any(|b| b.tags.contains_key("span.op"))); - } - } - - #[test] - fn extracts_span_metrics_from_transaction() { - let event = r#" - { - "type": "transaction", - "timestamp": "2021-04-26T08:00:05+0100", - "start_timestamp": "2021-04-26T08:00:00+0100", - "transaction": "my_transaction", - "contexts": { - "trace": { - "exclusive_time": 5000.0, - "op": "db.query", - "status": "ok" - } - } - } - "#; - let mut event = Annotated::::from_json(event).unwrap(); - - let metrics = extract_metrics( - event.value_mut().as_mut().unwrap(), - combined_config([Feature::ExtractCommonSpanMetricsFromEvent], None).combined(), - SamplingDecision::Keep, - ProjectId::new(4711), - 200, - true, - ) - .project_metrics; - - assert_eq!(metrics.len(), 5); - - assert_eq!(&*metrics[0].name, "c:spans/usage@none"); - - assert_eq!(&*metrics[1].name, "d:spans/exclusive_time@millisecond"); - assert_debug_snapshot!(metrics[1].tags, @r###" - { - "span.category": "db", - "span.op": "db.query", - "transaction": "my_transaction", - "transaction.op": "db.query", - } - "###); - assert_eq!( - &*metrics[2].name, - "d:spans/exclusive_time_light@millisecond" - ); - - assert_eq!(&*metrics[3].name, "d:spans/duration@millisecond"); - assert_eq!(&*metrics[4].name, "d:spans/duration_light@millisecond"); - } } diff --git a/relay-server/src/services/processor/span/processing.rs b/relay-server/src/services/processor/span/processing.rs index 48ce9266048..513c72a97e0 100644 --- a/relay-server/src/services/processor/span/processing.rs +++ b/relay-server/src/services/processor/span/processing.rs @@ -841,19 +841,12 @@ mod tests { ); let dummy_envelope = Envelope::parse_bytes(bytes).unwrap(); - let mut project_info = ProjectInfo::default(); - project_info - .config - .features - .0 - .insert(Feature::ExtractCommonSpanMetricsFromEvent); - let project_info = Arc::new(project_info); + let project_info = Arc::new(ProjectInfo::default()); let event = Event { ty: EventType::Transaction.into(), start_timestamp: Timestamp(DateTime::from_timestamp(0, 0).unwrap()).into(), timestamp: Timestamp(DateTime::from_timestamp(1, 0).unwrap()).into(), - contexts: Contexts(BTreeMap::from([( "trace".into(), ContextInner(Context::Trace(Box::new(TraceContext { From b1ca3cf88911197eba7b6952906ba6a3e3080d3b Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Fri, 11 Jul 2025 10:00:58 -0700 Subject: [PATCH 06/22] Add a CHANGELOG entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e25b738c834..adbfec75ad0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ - Expand the NEL attributes & others. ([#4874](https://github.com/getsentry/relay/pull/4874)) - Normalize legacy AI agents attributes to OTel compatible names. ([#4916](https://github.com/getsentry/relay/pull/4916)) - Fix cost calculation for cached and reasoning tokens. ([#4922](https://github.com/getsentry/relay/pull/4922)) +- Disable span metrics. ([#4931](https://github.com/getsentry/relay/pull/4931)) ## 25.6.2 From 762596dfccd36ca98f6faac05a630484dbd9c4e4 Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Fri, 11 Jul 2025 10:14:18 -0700 Subject: [PATCH 07/22] Remove reference to inexistent feature flag --- relay-dynamic-config/src/global.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/relay-dynamic-config/src/global.rs b/relay-dynamic-config/src/global.rs index 14fc971bc66..30e14beca6a 100644 --- a/relay-dynamic-config/src/global.rs +++ b/relay-dynamic-config/src/global.rs @@ -146,8 +146,7 @@ pub struct Options { /// Overall sampling of span extraction. /// /// This number represents the fraction of transactions for which - /// spans are extracted. It applies on top of [`crate::Feature::ExtractCommonSpanMetricsFromEvent`], - /// so both feature flag and sample rate need to be enabled to get any spans extracted. + /// spans are extracted. /// /// `None` is the default and interpreted as a value of 1.0 (extract everything). /// From 4d425eb98e7ac6d235c882f18792fc75ab98e5dc Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Fri, 11 Jul 2025 10:18:08 -0700 Subject: [PATCH 08/22] Fix test_rate_limit_spans_in_envelope --- tests/integration/test_spans.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/integration/test_spans.py b/tests/integration/test_spans.py index 7820cd1398d..a3a759ee434 100644 --- a/tests/integration/test_spans.py +++ b/tests/integration/test_spans.py @@ -2153,11 +2153,6 @@ def summarize_outcomes(): assert summarize_outcomes() == {(12, 2): 6, (16, 2): 6} - # We emit transaction metrics from spans for legacy reasons. These are not rate limited. - # (could be a bug) - ((metric, _),) = metrics_consumer.get_metrics(n=1) - assert ":spans/" not in metric["name"] - spans_consumer.assert_empty() metrics_consumer.assert_empty() From 619f0b5ff1c899d6b2380cb1303196101ac60626 Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Fri, 11 Jul 2025 11:29:48 -0700 Subject: [PATCH 09/22] Fix integration tests --- relay-dynamic-config/src/feature.rs | 2 +- tests/integration/test_spans.py | 72 +---------------------------- 2 files changed, 3 insertions(+), 71 deletions(-) diff --git a/relay-dynamic-config/src/feature.rs b/relay-dynamic-config/src/feature.rs index b97c536caaa..598a9c23088 100644 --- a/relay-dynamic-config/src/feature.rs +++ b/relay-dynamic-config/src/feature.rs @@ -137,7 +137,7 @@ impl FeatureSet { /// Returns `true` if any spans are produced for this project. pub fn produces_spans(&self) -> bool { - self.has(Feature::ExtractSpansFromEvent) + self.has(Feature::ExtractSpansFromEvent) || self.has(Feature::StandaloneSpanIngestion) } } diff --git a/tests/integration/test_spans.py b/tests/integration/test_spans.py index a3a759ee434..8e5e2d98031 100644 --- a/tests/integration/test_spans.py +++ b/tests/integration/test_spans.py @@ -241,8 +241,8 @@ def test_span_extraction( @pytest.mark.parametrize( "sample_rate,expected_spans,expected_metrics", [ - (None, 2, 7), - (1.0, 2, 7), + (None, 2, 3), + (1.0, 2, 3), (0.0, 0, 0), ], ) @@ -1449,74 +1449,6 @@ def test_standalone_span_ingestion_metric_extraction( "type": "c", "value": 1.0, }, - { - "name": "d:spans/duration@millisecond", - "org_id": 1, - "project_id": 42, - "received_at": expected_received, - "retention_days": 90, - "tags": { - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT from", - "span.group": "e7ef86adbb98803e", - "span.op": "db", - }, - "timestamp": expected_timestamp, - "type": "d", - "value": [500.0], - }, - { - "name": "d:spans/duration_light@millisecond", - "org_id": 1, - "project_id": 42, - "received_at": expected_received, - "retention_days": 90, - "tags": { - "span.action": "SELECT", - "span.op": "db", - "span.category": "db", - "span.description": "SELECT from", - "span.group": "e7ef86adbb98803e", - }, - "timestamp": expected_timestamp, - "type": "d", - "value": [500.0], - }, - { - "name": "d:spans/exclusive_time@millisecond", - "org_id": 1, - "project_id": 42, - "received_at": expected_received, - "retention_days": 90, - "tags": { - "span.action": "SELECT", - "span.category": "db", - "span.description": "SELECT from", - "span.group": "e7ef86adbb98803e", - "span.op": "db", - }, - "timestamp": expected_timestamp, - "type": "d", - "value": [500.0], - }, - { - "name": "d:spans/exclusive_time_light@millisecond", - "org_id": 1, - "project_id": 42, - "received_at": expected_received, - "retention_days": 90, - "tags": { - "span.action": "SELECT", - "span.op": "db", - "span.category": "db", - "span.description": "SELECT from", - "span.group": "e7ef86adbb98803e", - }, - "timestamp": expected_timestamp, - "type": "d", - "value": [500.0], - }, ] assert metrics == expected_metrics From b33acb5b1c4a5c7eaed5701d41628778e6cb8690 Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Fri, 11 Jul 2025 12:33:41 -0700 Subject: [PATCH 10/22] Fix more tests --- tests/integration/test_metrics.py | 5 +- tests/integration/test_spans.py | 187 +----------------------------- 2 files changed, 2 insertions(+), 190 deletions(-) diff --git a/tests/integration/test_metrics.py b/tests/integration/test_metrics.py index f61ab47f3ba..938b57aba21 100644 --- a/tests/integration/test_metrics.py +++ b/tests/integration/test_metrics.py @@ -817,8 +817,7 @@ def assert_transaction(): assert_transaction() assert_transaction() - metrics = metrics_by_name(metrics_consumer, count=11, timeout=6) - + metrics = metrics_by_name(metrics_consumer, count=7, timeout=6) timestamp = int(timestamp.timestamp()) common = { "timestamp": time_after(timestamp), @@ -833,8 +832,6 @@ def assert_transaction(): "received_at": time_after(timestamp), } - assert metrics["c:spans/usage@none"]["value"] == 2 - assert metrics["c:transactions/usage@none"] == { **common, "name": "c:transactions/usage@none", diff --git a/tests/integration/test_spans.py b/tests/integration/test_spans.py index 8e5e2d98031..e1ed545bb4d 100644 --- a/tests/integration/test_spans.py +++ b/tests/integration/test_spans.py @@ -1153,182 +1153,6 @@ def test_span_ingestion( "value": 4.0, "received_at": time_after(now_timestamp), }, - { - "name": "d:spans/duration@millisecond", - "org_id": 1, - "project_id": 42, - "retention_days": 90, - "tags": { - "file_extension": "js", - "span.category": "resource", - "span.description": "https://example.com/*/blah.js", - "span.domain": "example.com", - "span.group": "8a97a9e43588e2bd", - "span.op": "resource.script", - }, - "timestamp": expected_timestamp + 1, - "type": "d", - "value": [1500.0, 1500.0], - "received_at": time_after(now_timestamp), - }, - { - "name": "d:spans/duration@millisecond", - "org_id": 1, - "project_id": 42, - "retention_days": 90, - "tags": { - "span.category": "db", - "span.op": "default", - }, - "timestamp": expected_timestamp, - "type": "d", - "value": [500.0, 500.0], - "received_at": time_after(now_timestamp), - }, - { - "name": "d:spans/duration@millisecond", - "org_id": 1, - "project_id": 42, - "retention_days": 90, - "tags": { - "span.op": "default", - }, - "timestamp": expected_timestamp, - "type": "d", - "value": [500.0, 500.0], - "received_at": time_after(now_timestamp), - }, - { - "name": "d:spans/duration@millisecond", - "org_id": 1, - "project_id": 42, - "retention_days": 90, - "tags": {"span.op": "default"}, - "timestamp": expected_timestamp + 1, - "type": "d", - "value": [1500.0, 1500.0], - "received_at": time_after(now_timestamp), - }, - { - "name": "d:spans/duration_light@millisecond", - "org_id": 1, - "project_id": 42, - "received_at": time_after(now_timestamp), - "retention_days": 90, - "tags": { - "file_extension": "js", - "span.category": "resource", - "span.description": "https://example.com/*/blah.js", - "span.domain": "example.com", - "span.group": "8a97a9e43588e2bd", - "span.op": "resource.script", - }, - "timestamp": expected_timestamp + 1, - "type": "d", - "value": [1500.0, 1500.0], - }, - { - "name": "d:spans/duration_light@millisecond", - "org_id": 1, - "project_id": 42, - "received_at": time_after(now_timestamp), - "retention_days": 90, - "tags": {"span.category": "db", "span.op": "default"}, - "timestamp": expected_timestamp, - "type": "d", - "value": [500.0, 500.0], - }, - { - "org_id": 1, - "project_id": 42, - "name": "d:spans/exclusive_time@millisecond", - "type": "d", - "value": [161.0, 345.0], - "timestamp": expected_timestamp + 1, - "tags": { - "file_extension": "js", - "span.category": "resource", - "span.description": "https://example.com/*/blah.js", - "span.domain": "example.com", - "span.group": "8a97a9e43588e2bd", - "span.op": "resource.script", - }, - "retention_days": 90, - "received_at": time_after(now_timestamp), - }, - { - "org_id": 1, - "project_id": 42, - "name": "d:spans/exclusive_time@millisecond", - "retention_days": 90, - "tags": {"span.category": "db", "span.op": "default"}, - "timestamp": expected_timestamp, - "type": "d", - "value": [500.0, 500.0], - "received_at": time_after(now_timestamp), - }, - { - "name": "d:spans/exclusive_time@millisecond", - "org_id": 1, - "project_id": 42, - "retention_days": 90, - "tags": {"span.op": "default"}, - "timestamp": expected_timestamp, - "type": "d", - "value": [500.0, 500.0], - "received_at": time_after(now_timestamp), - }, - { - "org_id": 1, - "project_id": 42, - "name": "d:spans/exclusive_time@millisecond", - "retention_days": 90, - "tags": {"span.op": "default"}, - "timestamp": expected_timestamp + 1, - "type": "d", - "value": [345.0, 345.0], - "received_at": time_after(now_timestamp), - }, - { - "org_id": 1, - "project_id": 42, - "name": "d:spans/exclusive_time_light@millisecond", - "type": "d", - "value": [161.0, 345.0], - "timestamp": expected_timestamp + 1, - "tags": { - "file_extension": "js", - "span.category": "resource", - "span.description": "https://example.com/*/blah.js", - "span.domain": "example.com", - "span.group": "8a97a9e43588e2bd", - "span.op": "resource.script", - }, - "retention_days": 90, - "received_at": time_after(now_timestamp), - }, - { - "name": "d:spans/exclusive_time_light@millisecond", - "org_id": 1, - "project_id": 42, - "retention_days": 90, - "tags": {"span.category": "db", "span.op": "default"}, - "timestamp": expected_timestamp, - "type": "d", - "value": [500.0, 500.0], - "received_at": time_after(now_timestamp), - }, - { - "name": "d:spans/webvital.score.total@ratio", - "org_id": 1, - "project_id": 42, - "retention_days": 90, - "tags": {"span.op": "resource.script"}, - "timestamp": expected_timestamp + 1, - "type": "d", - "value": [0.12121616], - "received_at": time_after(now_timestamp), - }, ] span_metrics = [m for m in metrics if ":spans/" in m["name"]] @@ -1337,15 +1161,6 @@ def test_span_ingestion( for actual, expected in zip(span_metrics, expected_span_metrics): assert actual == expected - # Regardless of whether transactions are extracted, score.total is only converted to a transaction metric once: - score_total_metrics = [ - m - for m in metrics - if m["name"] == "d:transactions/measurements.score.total@ratio" - ] - assert len(score_total_metrics) == 1, score_total_metrics - assert len(score_total_metrics[0]["value"]) == 1 - metrics_consumer.assert_empty() @@ -2013,7 +1828,7 @@ def summarize_outcomes(): assert len(spans) == 2 assert summarize_outcomes() == {(16, 0): 2} # SpanIndexed, Accepted # A limit only for span_indexed does not affect extracted metrics - metrics = metrics_consumer.get_metrics(n=11) + metrics = metrics_consumer.get_metrics(n=7) span_count = sum( [m[0]["value"] for m in metrics if m[0]["name"] == "c:spans/usage@none"] ) From e59cb87339a66322110b35405e84cbe6466f5b14 Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Fri, 11 Jul 2025 13:00:20 -0700 Subject: [PATCH 11/22] Fix test_dynamic_sampling --- tests/integration/test_spans.py | 111 ++++---------------------------- 1 file changed, 14 insertions(+), 97 deletions(-) diff --git a/tests/integration/test_spans.py b/tests/integration/test_spans.py index e1ed545bb4d..86ce5fe03ce 100644 --- a/tests/integration/test_spans.py +++ b/tests/integration/test_spans.py @@ -2228,109 +2228,26 @@ def summarize_outcomes(outcomes): if sample_rate == 1.0: spans = spans_consumer.get_spans(timeout=10, n=6) assert len(spans) == 6 - outcomes = outcomes_consumer.get_outcomes(timeout=10, n=6) - assert summarize_outcomes(outcomes) == {(16, 0): 6} # SpanIndexed, Accepted + outcomes = outcomes_consumer.get_outcomes(timeout=10, n=7) + assert summarize_outcomes(outcomes) == { + (16, 0): 6, # SpanIndexed, Accepted + (15, 1): 2, # Metric, Filtered + } else: - outcomes = outcomes_consumer.get_outcomes(timeout=10, n=1) - assert summarize_outcomes(outcomes) == {(16, 1): 6} # Span, Filtered - assert {o["reason"] for o in outcomes} == {"Sampled:3000"} + outcomes = outcomes_consumer.get_outcomes(timeout=10, n=2) + assert summarize_outcomes(outcomes) == { + (16, 1): 6, # Span, Filtered + (15, 1): 2, # Metric, Filtered + } + assert {o["reason"] for o in outcomes} == { + "Sampled:3000", + "disabled-namespace", + } spans_consumer.assert_empty() outcomes_consumer.assert_empty() -@pytest.mark.parametrize("ingest_in_eap", [True, False]) -def test_ingest_in_eap_for_organization( - mini_sentry, - relay_with_processing, - spans_consumer, - ingest_in_eap, -): - spans_consumer = spans_consumer() - - relay = relay_with_processing(options=TEST_CONFIG) - project_id = 42 - project_config = mini_sentry.add_full_project_config(project_id) - project_config["config"]["features"] = [ - "organizations:indexed-spans-extraction", - ] - - if ingest_in_eap: - project_config["config"]["features"] += ["organizations:ingest-spans-in-eap"] - - event = make_transaction({"event_id": "cbf6960622e14a45abc1f03b2055b186"}) - end = datetime.now(timezone.utc) - timedelta(seconds=1) - duration = timedelta(milliseconds=500) - start = end - duration - event["spans"] = [ - { - "description": "GET /api/0/organizations/?member=1", - "op": "http", - "origin": "manual", - "parent_span_id": "968cff94913ebb07", - "span_id": "bbbbbbbbbbbbbbbb", - "start_timestamp": start.isoformat(), - "status": "success", - "timestamp": end.isoformat(), - "trace_id": "ff62a8b040f340bda5d830223def1d81", - }, - ] - - relay.send_event(project_id, event) - - if ingest_in_eap: - spans_consumer.get_span() - spans_consumer.get_span() - - spans_consumer.assert_empty() - - -@pytest.mark.parametrize("ingest_in_eap", [True, False]) -def test_ingest_in_eap_for_project( - mini_sentry, - relay_with_processing, - spans_consumer, - ingest_in_eap, -): - spans_consumer = spans_consumer() - - relay = relay_with_processing(options=TEST_CONFIG) - project_id = 42 - project_config = mini_sentry.add_full_project_config(project_id) - project_config["config"]["features"] = [ - "organizations:indexed-spans-extraction", - ] - - if ingest_in_eap: - project_config["config"]["features"] += ["projects:ingest-spans-in-eap"] - - event = make_transaction({"event_id": "cbf6960622e14a45abc1f03b2055b186"}) - end = datetime.now(timezone.utc) - timedelta(seconds=1) - duration = timedelta(milliseconds=500) - start = end - duration - event["spans"] = [ - { - "description": "GET /api/0/organizations/?member=1", - "op": "http", - "origin": "manual", - "parent_span_id": "968cff94913ebb07", - "span_id": "bbbbbbbbbbbbbbbb", - "start_timestamp": start.isoformat(), - "status": "success", - "timestamp": end.isoformat(), - "trace_id": "ff62a8b040f340bda5d830223def1d81", - }, - ] - - relay.send_event(project_id, event) - - if ingest_in_eap: - spans_consumer.get_span() - spans_consumer.get_span() - - spans_consumer.assert_empty() - - @pytest.mark.parametrize("scrub_ip_addresses", [False, True]) def test_scrubs_ip_addresses( mini_sentry, From f9482caec37c33b61aab52269245f8a52cce56cf Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Fri, 11 Jul 2025 13:12:46 -0700 Subject: [PATCH 12/22] Remove more references to span metrics in tests --- tests/integration/test_metrics_encoding.py | 3 +-- tests/integration/test_projectconfigs.py | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/integration/test_metrics_encoding.py b/tests/integration/test_metrics_encoding.py index 5b0595824b4..04c5c86d226 100644 --- a/tests/integration/test_metrics_encoding.py +++ b/tests/integration/test_metrics_encoding.py @@ -69,7 +69,7 @@ def test_metric_bucket_encoding_legacy( assert metrics["s:transactions/bar@none"]["value"] == [42.0] -@pytest.mark.parametrize("namespace", [None, "spans", "custom"]) +@pytest.mark.parametrize("namespace", [None, "custom"]) @pytest.mark.parametrize("ty", ["set", "distribution"]) def test_metric_bucket_encoding_dynamic_global_config_option( mini_sentry, relay_with_processing, metrics_consumer, namespace, ty @@ -86,7 +86,6 @@ def test_metric_bucket_encoding_dynamic_global_config_option( project_config = mini_sentry.add_basic_project_config(project_id) project_config["config"]["features"] = [ "organizations:custom-metrics", - "projects:span-metrics-extraction", ] metrics_payload = ( diff --git a/tests/integration/test_projectconfigs.py b/tests/integration/test_projectconfigs.py index c10e807cf8e..885571f0fb4 100644 --- a/tests/integration/test_projectconfigs.py +++ b/tests/integration/test_projectconfigs.py @@ -343,9 +343,6 @@ def test_get_global_config(mini_sentry, relay): packed, signature = SecretKey.parse(relay.secret_key).pack(body) data, _ = get_response(relay, packed, signature, version="3") - global_extraction_config = data["global"].pop("metricExtraction") - assert "span_metrics_common" in global_extraction_config["groups"] - assert data["global"] == mini_sentry.global_config From fd5259db7ce59861ae6deddc2d9a0769c4e9441b Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Mon, 14 Jul 2025 13:56:17 -0700 Subject: [PATCH 13/22] Restore transaction metrics extracted from spans --- relay-dynamic-config/src/defaults.rs | 228 ++++++++++++++++++++++++++- relay-dynamic-config/src/global.rs | 19 ++- 2 files changed, 244 insertions(+), 3 deletions(-) diff --git a/relay-dynamic-config/src/defaults.rs b/relay-dynamic-config/src/defaults.rs index 0eb6b831c9b..937b531e489 100644 --- a/relay-dynamic-config/src/defaults.rs +++ b/relay-dynamic-config/src/defaults.rs @@ -1,7 +1,8 @@ use relay_base_schema::data_category::DataCategory; +use relay_protocol::RuleCondition; use crate::metrics::MetricSpec; -use crate::{MetricExtractionConfig, ProjectConfig}; +use crate::{GroupKey, MetricExtractionConfig, ProjectConfig, Tag, TagMapping}; /// Conditionally enables metrics extraction groups from the global config. /// @@ -28,8 +29,233 @@ pub fn add_span_metrics(project_config: &mut ProjectConfig) { }); } + let span_metrics_tx = config + .global_groups + .entry(GroupKey::SpanMetricsTx) + .or_default(); + span_metrics_tx.is_enabled = true; + config._span_metrics_extended = true; if config.version == 0 { config.version = MetricExtractionConfig::MAX_SUPPORTED_VERSION; } } + +/// Configuration for extracting metrics from spans. +/// +/// These metrics are added to [`crate::GlobalConfig`] by the service and enabled +/// by project configs in sentry. +pub fn hardcoded_span_metrics() -> Vec<(GroupKey, Vec, Vec)> { + let is_allowed_browser = RuleCondition::eq( + "span.sentry_tags.browser.name", + vec![ + "Google Chrome", + "Chrome", + "Firefox", + "Safari", + "Edge", + "Opera", + // Mobile Browsers + "Chrome Mobile", + "Firefox Mobile", + "Mobile Safari", + "Edge Mobile", + "Opera Mobile", + ], + ); + vec![( + GroupKey::SpanMetricsTx, + vec![ + MetricSpec { + category: DataCategory::Span, + mri: "d:transactions/measurements.score.total@ratio".into(), + field: Some("span.measurements.score.total.value".into()), + condition: Some( + // If transactions are extracted from spans, the transaction processing pipeline + // will take care of this metric. + is_allowed_browser.clone() & RuleCondition::eq("span.was_transaction", false), + ), + tags: vec![ + Tag::with_key("span.op") + .from_field("span.sentry_tags.op") + .always(), + Tag::with_key("transaction.op") + .from_field("span.sentry_tags.transaction.op") + .always(), + Tag::with_key("transaction") + .from_field("span.sentry_tags.transaction") + .always(), + Tag::with_key("environment") + .from_field("span.sentry_tags.environment") + .always(), + Tag::with_key("release") + .from_field("span.sentry_tags.release") + .always(), + Tag::with_key("browser.name") + .from_field("span.browser.name") + .always(), // already guarded by condition on metric + Tag::with_key("user.geo.subregion") + .from_field("span.sentry_tags.user.geo.subregion") + .always(), // already guarded by condition on metric + ], + }, + MetricSpec { + category: DataCategory::Span, + mri: "d:transactions/measurements.score.cls@ratio".into(), + field: Some("span.measurements.score.cls.value".into()), + condition: Some(is_allowed_browser.clone()), + tags: vec![ + Tag::with_key("span.op") + .from_field("span.sentry_tags.op") + .always(), + Tag::with_key("transaction") + .from_field("span.sentry_tags.transaction") + .always(), + Tag::with_key("environment") + .from_field("span.sentry_tags.environment") + .always(), + Tag::with_key("release") + .from_field("span.sentry_tags.release") + .always(), + Tag::with_key("browser.name") + .from_field("span.sentry_tags.browser.name") + .always(), // already guarded by condition on metric + Tag::with_key("user.geo.subregion") + .from_field("span.sentry_tags.user.geo.subregion") + .always(), // already guarded by condition on metric + ], + }, + MetricSpec { + category: DataCategory::Span, + mri: "d:transactions/measurements.score.weight.cls@ratio".into(), + field: Some("span.measurements.score.weight.cls.value".into()), + condition: Some(is_allowed_browser.clone()), + tags: vec![ + Tag::with_key("span.op") + .from_field("span.sentry_tags.op") + .always(), + Tag::with_key("transaction") + .from_field("span.sentry_tags.transaction") + .always(), + Tag::with_key("environment") + .from_field("span.sentry_tags.environment") + .always(), + Tag::with_key("release") + .from_field("span.sentry_tags.release") + .always(), + Tag::with_key("browser.name") + .from_field("span.sentry_tags.browser.name") + .always(), // already guarded by condition on metric + Tag::with_key("user.geo.subregion") + .from_field("span.sentry_tags.user.geo.subregion") + .always(), // already guarded by condition on metric + ], + }, + MetricSpec { + category: DataCategory::Span, + mri: "d:transactions/measurements.cls@none".into(), + field: Some("span.measurements.cls.value".into()), + condition: Some(is_allowed_browser.clone()), + tags: vec![ + Tag::with_key("span.op") + .from_field("span.sentry_tags.op") + .always(), + Tag::with_key("transaction") + .from_field("span.sentry_tags.transaction") + .always(), + Tag::with_key("environment") + .from_field("span.sentry_tags.environment") + .always(), + Tag::with_key("release") + .from_field("span.sentry_tags.release") + .always(), + Tag::with_key("browser.name") + .from_field("span.sentry_tags.browser.name") + .always(), // already guarded by condition on metric + Tag::with_key("user.geo.subregion") + .from_field("span.sentry_tags.user.geo.subregion") + .always(), // already guarded by condition on metric + ], + }, + MetricSpec { + category: DataCategory::Span, + mri: "d:transactions/measurements.score.lcp@ratio".into(), + field: Some("span.measurements.score.lcp.value".into()), + condition: Some(is_allowed_browser.clone()), + tags: vec![ + Tag::with_key("span.op") + .from_field("span.sentry_tags.op") + .always(), + Tag::with_key("transaction") + .from_field("span.sentry_tags.transaction") + .always(), + Tag::with_key("environment") + .from_field("span.sentry_tags.environment") + .always(), + Tag::with_key("release") + .from_field("span.sentry_tags.release") + .always(), + Tag::with_key("browser.name") + .from_field("span.sentry_tags.browser.name") + .always(), // already guarded by condition on metric + Tag::with_key("user.geo.subregion") + .from_field("span.sentry_tags.user.geo.subregion") + .always(), // already guarded by condition on metric + ], + }, + MetricSpec { + category: DataCategory::Span, + mri: "d:transactions/measurements.score.weight.lcp@ratio".into(), + field: Some("span.measurements.score.weight.lcp.value".into()), + condition: Some(is_allowed_browser.clone()), + tags: vec![ + Tag::with_key("span.op") + .from_field("span.sentry_tags.op") + .always(), + Tag::with_key("transaction") + .from_field("span.sentry_tags.transaction") + .always(), + Tag::with_key("environment") + .from_field("span.sentry_tags.environment") + .always(), + Tag::with_key("release") + .from_field("span.sentry_tags.release") + .always(), + Tag::with_key("browser.name") + .from_field("span.sentry_tags.browser.name") + .always(), // already guarded by condition on metric + Tag::with_key("user.geo.subregion") + .from_field("span.sentry_tags.user.geo.subregion") + .always(), // already guarded by condition on metric + ], + }, + MetricSpec { + category: DataCategory::Span, + mri: "d:transactions/measurements.lcp@millisecond".into(), + field: Some("span.measurements.lcp.value".into()), + condition: Some(is_allowed_browser.clone()), + tags: vec![ + Tag::with_key("span.op") + .from_field("span.sentry_tags.op") + .always(), + Tag::with_key("transaction") + .from_field("span.sentry_tags.transaction") + .always(), + Tag::with_key("environment") + .from_field("span.sentry_tags.environment") + .always(), + Tag::with_key("release") + .from_field("span.sentry_tags.release") + .always(), + Tag::with_key("browser.name") + .from_field("span.sentry_tags.browser.name") + .always(), // already guarded by condition on metric + Tag::with_key("user.geo.subregion") + .from_field("span.sentry_tags.user.geo.subregion") + .always(), // already guarded by condition on metric + ], + }, + ], + vec![], + )] +} diff --git a/relay-dynamic-config/src/global.rs b/relay-dynamic-config/src/global.rs index 30e14beca6a..46f3cc2f57a 100644 --- a/relay-dynamic-config/src/global.rs +++ b/relay-dynamic-config/src/global.rs @@ -1,4 +1,5 @@ use std::collections::HashMap; +use std::collections::btree_map::Entry; use std::fs::File; use std::io::BufReader; use std::path::Path; @@ -10,7 +11,7 @@ use relay_quotas::Quota; use serde::{Deserialize, Serialize, de}; use serde_json::Value; -use crate::{ErrorBoundary, MetricExtractionGroups}; +use crate::{ErrorBoundary, MetricExtractionGroup, MetricExtractionGroups, defaults}; /// A dynamic configuration for all Relays passed down from Sentry. /// @@ -84,7 +85,21 @@ impl GlobalConfig { /// Modifies the global config after deserialization. /// /// - Adds hard-coded groups to metrics extraction configs. - pub fn normalize(&mut self) {} + pub fn normalize(&mut self) { + if let ErrorBoundary::Ok(config) = &mut self.metric_extraction { + for (group_name, metrics, tags) in defaults::hardcoded_span_metrics() { + // We only define these groups if they haven't been defined by the upstream yet. + // This ensures that the innermost Relay always defines the metrics. + if let Entry::Vacant(entry) = config.groups.entry(group_name) { + entry.insert(MetricExtractionGroup { + is_enabled: false, // must be enabled via project config + metrics, + tags, + }); + } + } + } + } } fn is_err_or_empty(filters_config: &ErrorBoundary) -> bool { From b638447d366fed194e263fcf6ec9191d2c6a2eee Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Mon, 14 Jul 2025 14:19:36 -0700 Subject: [PATCH 14/22] Fix test_rate_limit_spans_in_envelope --- tests/integration/test_spans.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/integration/test_spans.py b/tests/integration/test_spans.py index 86ce5fe03ce..2f14a09ef1b 100644 --- a/tests/integration/test_spans.py +++ b/tests/integration/test_spans.py @@ -1900,6 +1900,11 @@ def summarize_outcomes(): assert summarize_outcomes() == {(12, 2): 6, (16, 2): 6} + # We emit transaction metrics from spans for legacy reasons. These are not rate limited. + # (could be a bug) + ((metric, _),) = metrics_consumer.get_metrics(n=1) + assert ":spans/" not in metric["name"] + spans_consumer.assert_empty() metrics_consumer.assert_empty() From f5e39cfe258d65a69bbea58b2c143064a8309e5b Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Mon, 14 Jul 2025 15:39:38 -0700 Subject: [PATCH 15/22] Fix test_get_global_config --- tests/integration/test_projectconfigs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/test_projectconfigs.py b/tests/integration/test_projectconfigs.py index 885571f0fb4..e81784cdfaf 100644 --- a/tests/integration/test_projectconfigs.py +++ b/tests/integration/test_projectconfigs.py @@ -343,6 +343,9 @@ def test_get_global_config(mini_sentry, relay): packed, signature = SecretKey.parse(relay.secret_key).pack(body) data, _ = get_response(relay, packed, signature, version="3") + global_extraction_config = data["global"].pop("metricExtraction") + assert "span_metrics_tx" in global_extraction_config["groups"] + assert data["global"] == mini_sentry.global_config From b414c90236b2fbfcd87737c0416ec00099974e1d Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Tue, 15 Jul 2025 16:00:46 -0700 Subject: [PATCH 16/22] Fix test_transaction_metrics --- tests/integration/test_metrics.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/integration/test_metrics.py b/tests/integration/test_metrics.py index 938b57aba21..8a3ca1ed767 100644 --- a/tests/integration/test_metrics.py +++ b/tests/integration/test_metrics.py @@ -47,6 +47,7 @@ def metrics_by_name(metrics_consumer, count, timeout=None): for _ in range(count): metric, metric_headers = metrics_consumer.get_metric(timeout) + print(metric["name"]) metric = metrics_without_keys([metric], keys={"metadata"})[0] metrics[metric["name"]] = metric metrics["headers"][metric["name"]] = metric_headers @@ -737,6 +738,8 @@ def test_transaction_metrics( mini_sentry.add_full_project_config(project_id) config = mini_sentry.project_configs[project_id]["config"] + config.setdefault("features", []).append("organizations:indexed-spans-extraction") + timestamp = datetime.now(tz=timezone.utc) if extract_metrics: @@ -817,7 +820,7 @@ def assert_transaction(): assert_transaction() assert_transaction() - metrics = metrics_by_name(metrics_consumer, count=7, timeout=6) + metrics = metrics_by_name(metrics_consumer, count=9, timeout=6) timestamp = int(timestamp.timestamp()) common = { "timestamp": time_after(timestamp), @@ -832,6 +835,8 @@ def assert_transaction(): "received_at": time_after(timestamp), } + assert metrics["c:spans/usage@none"]["value"] == 2 + assert metrics["c:transactions/usage@none"] == { **common, "name": "c:transactions/usage@none", From 970896be74f0796dfb3d6a4644cd23b0719ebb61 Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Tue, 15 Jul 2025 16:01:09 -0700 Subject: [PATCH 17/22] Deprecate features instead of removing them --- relay-dynamic-config/src/feature.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/relay-dynamic-config/src/feature.rs b/relay-dynamic-config/src/feature.rs index 598a9c23088..3a49a447e52 100644 --- a/relay-dynamic-config/src/feature.rs +++ b/relay-dynamic-config/src/feature.rs @@ -80,6 +80,14 @@ pub enum Feature { /// Serialized as `organizations:continuous-profiling-beta-ingest`. #[serde(rename = "organizations:continuous-profiling-beta-ingest")] ContinuousProfilingBetaIngest, + /// This feature has graduated and is hard-coded for external Relays. + #[doc(hidden)] + #[serde(rename = "projects:span-metrics-extraction")] + ExtractCommonSpanMetricsFromEvent, + /// This feature has graduated and is hard-coded for external Relays. + #[doc(hidden)] + #[serde(rename = "projects:span-metrics-extraction-addons")] + ExtractAddonsSpanMetricsFromEvent, /// When enabled, spans will be extracted from a transaction. /// /// Serialized as `organizations:indexed-spans-extraction`. From 9d2baf6f87baa7929e3ef6c3eae0e53debb35c2d Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Tue, 15 Jul 2025 16:03:27 -0700 Subject: [PATCH 18/22] Fix test_metric_bucket_encoding_dynamic_global_config_option --- tests/integration/test_metrics_encoding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_metrics_encoding.py b/tests/integration/test_metrics_encoding.py index 04c5c86d226..e59fea3be62 100644 --- a/tests/integration/test_metrics_encoding.py +++ b/tests/integration/test_metrics_encoding.py @@ -69,7 +69,7 @@ def test_metric_bucket_encoding_legacy( assert metrics["s:transactions/bar@none"]["value"] == [42.0] -@pytest.mark.parametrize("namespace", [None, "custom"]) +@pytest.mark.parametrize("namespace", [None, "transactions", "custom"]) @pytest.mark.parametrize("ty", ["set", "distribution"]) def test_metric_bucket_encoding_dynamic_global_config_option( mini_sentry, relay_with_processing, metrics_consumer, namespace, ty From 6f22a67d7dbe76559e09222528671f78ee090f95 Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Tue, 15 Jul 2025 16:19:40 -0700 Subject: [PATCH 19/22] Remove print --- tests/integration/test_metrics.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/integration/test_metrics.py b/tests/integration/test_metrics.py index 4ab67e14064..788d5751c33 100644 --- a/tests/integration/test_metrics.py +++ b/tests/integration/test_metrics.py @@ -48,7 +48,6 @@ def metrics_by_name(metrics_consumer, count, timeout=None): for _ in range(count): metric, metric_headers = metrics_consumer.get_metric(timeout) - print(metric["name"]) metric = metrics_without_keys([metric], keys={"metadata"})[0] metrics[metric["name"]] = metric metrics["headers"][metric["name"]] = metric_headers From eee7701e3bdc4933a108efe962709a8954bdee31 Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Tue, 15 Jul 2025 16:56:19 -0700 Subject: [PATCH 20/22] Fix test_dynamic_sampling --- tests/integration/test_spans.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/integration/test_spans.py b/tests/integration/test_spans.py index 2f14a09ef1b..339468ecb59 100644 --- a/tests/integration/test_spans.py +++ b/tests/integration/test_spans.py @@ -2168,6 +2168,9 @@ def test_dynamic_sampling( } sampling_config = mini_sentry.add_basic_project_config(43) + sampling_config["config"]["features"] = [ + "organizations:standalone-span-ingestion", + ] sampling_public_key = sampling_config["publicKeys"][0]["publicKey"] sampling_config["config"]["txNameRules"] = [ { @@ -2233,20 +2236,17 @@ def summarize_outcomes(outcomes): if sample_rate == 1.0: spans = spans_consumer.get_spans(timeout=10, n=6) assert len(spans) == 6 - outcomes = outcomes_consumer.get_outcomes(timeout=10, n=7) + outcomes = outcomes_consumer.get_outcomes(timeout=10, n=6) assert summarize_outcomes(outcomes) == { (16, 0): 6, # SpanIndexed, Accepted - (15, 1): 2, # Metric, Filtered } else: - outcomes = outcomes_consumer.get_outcomes(timeout=10, n=2) + outcomes = outcomes_consumer.get_outcomes(timeout=10, n=1) assert summarize_outcomes(outcomes) == { - (16, 1): 6, # Span, Filtered - (15, 1): 2, # Metric, Filtered + (16, 1): 6, # SpanIndexed, Filtered } assert {o["reason"] for o in outcomes} == { "Sampled:3000", - "disabled-namespace", } spans_consumer.assert_empty() From b6ac63e0cd91ad74d9890e834791b7eefc732bd6 Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Wed, 16 Jul 2025 13:12:57 -0700 Subject: [PATCH 21/22] Fix CHANGELOG entry --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d4c3759bee7..e4a22887d01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog + +## Unreleased + +**Internal**: + +- Disable span metrics. ([#4931](https://github.com/getsentry/relay/pull/4931)) + ## 25.7.0 **Features**: @@ -27,7 +34,6 @@ - Only emit indexed span outcomes when producing directly to Snuba. ([#4936](https://github.com/getsentry/relay/pull/4936)) - Normalize legacy AI agents attributes to OTel compatible names. ([#4916](https://github.com/getsentry/relay/pull/4916)) - Fix cost calculation for cached and reasoning tokens. ([#4922](https://github.com/getsentry/relay/pull/4922)) -- Disable span metrics. ([#4931](https://github.com/getsentry/relay/pull/4931)) - Implement serialization of metadata for logs. ([#4929](https://github.com/getsentry/relay/pull/4929)) ## 25.6.2 From 208f723cf6271fed17d50d1c8e32fd579f57da21 Mon Sep 17 00:00:00 2001 From: Pierre Massat Date: Thu, 17 Jul 2025 09:52:16 -0700 Subject: [PATCH 22/22] Rename deprecated features and fix comments --- relay-dynamic-config/src/feature.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/relay-dynamic-config/src/feature.rs b/relay-dynamic-config/src/feature.rs index 3a49a447e52..f631ee4ce3a 100644 --- a/relay-dynamic-config/src/feature.rs +++ b/relay-dynamic-config/src/feature.rs @@ -80,14 +80,6 @@ pub enum Feature { /// Serialized as `organizations:continuous-profiling-beta-ingest`. #[serde(rename = "organizations:continuous-profiling-beta-ingest")] ContinuousProfilingBetaIngest, - /// This feature has graduated and is hard-coded for external Relays. - #[doc(hidden)] - #[serde(rename = "projects:span-metrics-extraction")] - ExtractCommonSpanMetricsFromEvent, - /// This feature has graduated and is hard-coded for external Relays. - #[doc(hidden)] - #[serde(rename = "projects:span-metrics-extraction-addons")] - ExtractAddonsSpanMetricsFromEvent, /// When enabled, spans will be extracted from a transaction. /// /// Serialized as `organizations:indexed-spans-extraction`. @@ -122,6 +114,14 @@ pub enum Feature { /// Detect performance issues in the new standalone spans pipeline instead of on transactions. #[serde(rename = "organizations:performance-issues-spans")] PerformanceIssuesSpans, + /// This feature has deprecated and is kept for external Relays. + #[doc(hidden)] + #[serde(rename = "projects:span-metrics-extraction")] + DeprecatedExtractCommonSpanMetricsFromEvent, + /// This feature has been deprecated and is kept for external Relays. + #[doc(hidden)] + #[serde(rename = "projects:span-metrics-extraction-addons")] + DeprecatedExtractAddonsSpanMetricsFromEvent, /// Forward compatibility. #[doc(hidden)] #[serde(other)]