mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Backport https://github.com/elastic/kibana/pull/202732 to 8.16 Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
1a310f0acf
commit
f3f31f43f9
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ export interface NewAgentPolicy {
|
|||
global_data_tags?: GlobalDataTag[];
|
||||
monitoring_pprof_enabled?: boolean;
|
||||
monitoring_http?: {
|
||||
enabled: boolean;
|
||||
enabled?: boolean;
|
||||
host?: string;
|
||||
port?: number;
|
||||
};
|
||||
|
|
|
@ -105,7 +105,7 @@ export const AgentPolicyBaseSchema = {
|
|||
monitoring_pprof_enabled: schema.maybe(schema.boolean()),
|
||||
monitoring_http: schema.maybe(
|
||||
schema.object({
|
||||
enabled: schema.boolean(),
|
||||
enabled: schema.maybe(schema.boolean()),
|
||||
host: schema.maybe(schema.string({ defaultValue: 'localhost' })),
|
||||
port: schema.maybe(schema.number({ min: 0, max: 65353, defaultValue: 6791 })),
|
||||
buffer: schema.maybe(schema.object({ enabled: schema.boolean({ defaultValue: false }) })),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue