LogsView + TraceView: Add time range to resource attributes extension range (#111171)

This commit is contained in:
Edvard Falkskär
2025-09-24 08:49:18 +01:00
committed by GitHub
parent 3cc2fb3728
commit 2669e0a770
17 changed files with 101 additions and 20 deletions
@@ -6,7 +6,7 @@ import { ScopedVars } from './ScopedVars';
import { DataSourcePluginMeta, DataSourceSettings } from './datasource';
import { IconName } from './icon';
import { PanelData } from './panel';
import { RawTimeRange, TimeZone } from './time';
import { AbsoluteTimeRange, RawTimeRange, TimeZone } from './time';
// Plugin Extensions types
// ---------------------------------------
@@ -273,6 +273,7 @@ export type PluginExtensionResourceAttributesContext = {
// Key-value pairs of resource attributes, attribute name is the key
attributes: Record<string, string[]>;
spanAttributes?: Record<string, string[]>;
timeRange: AbsoluteTimeRange;
datasource: {
type: string;
uid: string;