mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
- Added new Profiling settings so users can customize the CO2 variables
- Fixed Embeddable components to also read the new settings
- Moved code from APM to obs-shared to create the custom settings page
in Profiling.
- New Settings Page was created in Profiling UI so users can easily find
the settings:
<img width="2053" alt="Screenshot 2023-09-22 at 11 18 35"
src="6969b079
-745d-4302-8ff2-4f0f256c7f51">
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
79 lines
2.7 KiB
TypeScript
79 lines
2.7 KiB
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
export type { AsDuration, AsPercent, TimeUnitChar, TimeFormatter } from './utils/formatters';
|
|
|
|
export {
|
|
formatDurationFromTimeUnitChar,
|
|
asPercent,
|
|
getDurationFormatter,
|
|
asDuration,
|
|
asDynamicBytes,
|
|
asAbsoluteDateTime,
|
|
asInteger,
|
|
} from './utils/formatters';
|
|
export { getInspectResponse } from './utils/get_inspect_response';
|
|
export { getAlertDetailsUrl, getAlertUrl } from './utils/alerting/alert_url';
|
|
|
|
export { ProcessorEvent } from './processor_event';
|
|
|
|
export {
|
|
enableInspectEsQueries,
|
|
maxSuggestions,
|
|
enableComparisonByDefault,
|
|
defaultApmServiceEnvironment,
|
|
apmProgressiveLoading,
|
|
apmServiceInventoryOptimizedSorting,
|
|
apmServiceGroupMaxNumberOfServices,
|
|
apmTraceExplorerTab,
|
|
apmLabsButton,
|
|
enableInfrastructureHostsView,
|
|
enableAwsLambdaMetrics,
|
|
enableAgentExplorerView,
|
|
apmAWSLambdaPriceFactor,
|
|
apmAWSLambdaRequestCostPerMillion,
|
|
apmEnableServiceMetrics,
|
|
apmEnableContinuousRollups,
|
|
enableCriticalPath,
|
|
syntheticsThrottlingEnabled,
|
|
apmEnableProfilingIntegration,
|
|
profilingCo2PerKWH,
|
|
profilingDatacenterPUE,
|
|
profilingPerCoreWatt,
|
|
} from './ui_settings_keys';
|
|
|
|
export {
|
|
ProgressiveLoadingQuality,
|
|
getProbabilityFromProgressiveLoadingQuality,
|
|
} from './progressive_loading';
|
|
|
|
export const sloFeatureId = 'slo';
|
|
export const casesFeatureId = 'observabilityCases';
|
|
|
|
// The ID of the observability app. Should more appropriately be called
|
|
// 'observability' but it's used in telemetry by applicationUsage so we don't
|
|
// want to change it.
|
|
export const observabilityAppId = 'observability-overview';
|
|
|
|
// Used by feature and "solution" registration
|
|
export const observabilityFeatureId = 'observability';
|
|
|
|
// Name of a locator created by the uptime plugin. Intended for use
|
|
// by other plugins as well, so defined here to prevent cross-references.
|
|
export const uptimeOverviewLocatorID = 'UPTIME_OVERVIEW_LOCATOR';
|
|
export const syntheticsMonitorDetailLocatorID = 'SYNTHETICS_MONITOR_DETAIL_LOCATOR';
|
|
export const syntheticsEditMonitorLocatorID = 'SYNTHETICS_EDIT_MONITOR_LOCATOR';
|
|
export const syntheticsSettingsLocatorID = 'SYNTHETICS_SETTINGS';
|
|
export const alertsLocatorID = 'ALERTS_LOCATOR';
|
|
export const ruleDetailsLocatorID = 'RULE_DETAILS_LOCATOR';
|
|
export const rulesLocatorID = 'RULES_LOCATOR';
|
|
export const sloDetailsLocatorID = 'SLO_DETAILS_LOCATOR';
|
|
export const sloEditLocatorID = 'SLO_EDIT_LOCATOR';
|
|
|
|
import { paths } from './locators/paths';
|
|
export const observabilityPaths = paths.observability;
|
|
export type { AlertsLocatorParams } from './locators/alerts';
|