mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Fix some type issues for APM UI (#167347)
## Summary We're breaking https://github.com/elastic/kibana/pull/166813 up into smaller PRs in the interest of getting PRs through sooner for type fixes. These are the changes for APM UI.
This commit is contained in:
parent
26873aff87
commit
7a87c3615d
5 changed files with 7 additions and 3 deletions
|
@ -275,6 +275,7 @@ export async function getApmServiceSummary({
|
|||
start,
|
||||
end,
|
||||
serviceName,
|
||||
environment,
|
||||
}),
|
||||
getAnomalies({
|
||||
serviceName,
|
||||
|
|
|
@ -63,7 +63,7 @@ export function InstallElasticAgent() {
|
|||
useState<ElasticAgentPlatform>('linux-tar');
|
||||
|
||||
const enforcedDatasetName =
|
||||
integration === dataset ? dataset : `${integration}.${dataset}`;
|
||||
(integration === dataset ? dataset : `${integration}.${dataset}`) || '';
|
||||
|
||||
async function onContinue() {
|
||||
await singleDatasetLocator!.navigate({
|
||||
|
@ -113,7 +113,7 @@ export function InstallElasticAgent() {
|
|||
return callApi('POST /internal/observability_onboarding/logs/flow', {
|
||||
params: {
|
||||
body: {
|
||||
name: datasetName,
|
||||
name: datasetName || '',
|
||||
type: 'logFiles',
|
||||
state: {
|
||||
datasetName,
|
||||
|
|
|
@ -17,7 +17,7 @@ import {
|
|||
ObservabilityOnboardingPluginStart,
|
||||
} from './plugin';
|
||||
|
||||
export { OBSERVABILITY_ONBOARDING_LOCATOR } from './locators/onboarding_locator/locator_definition';
|
||||
export type { OBSERVABILITY_ONBOARDING_LOCATOR } from './locators/onboarding_locator/locator_definition';
|
||||
export type { ObservabilityOnboardingLocatorParams } from './locators/onboarding_locator/types';
|
||||
|
||||
export interface ConfigSchema {
|
||||
|
|
|
@ -11,6 +11,8 @@ import {
|
|||
OBSERVABILITY_ONBOARDING_LOCATOR,
|
||||
} from '@kbn/deeplinks-observability/locators';
|
||||
|
||||
export type { OBSERVABILITY_ONBOARDING_LOCATOR } from '@kbn/deeplinks-observability/locators';
|
||||
|
||||
export class ObservabilityOnboardingLocatorDefinition
|
||||
implements LocatorDefinition<ObservabilityOnboardingLocatorParams>
|
||||
{
|
||||
|
|
|
@ -8,5 +8,6 @@
|
|||
import type { LocatorPublic } from '@kbn/share-plugin/public';
|
||||
import type { ObservabilityOnboardingLocatorParams } from '@kbn/deeplinks-observability/locators';
|
||||
|
||||
export type { ObservabilityOnboardingLocatorParams } from '@kbn/deeplinks-observability/locators';
|
||||
export type ObservabilityOnboardingLocator =
|
||||
LocatorPublic<ObservabilityOnboardingLocatorParams>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue