Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "datadog-agent", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 38, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ddConf", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 9, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "skip_ssl_validation", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 9, column: 27, }, end: Position { line: 9, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "confd_path", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/etc/datadog-agent/conf.d", span: Span { start: Position { line: 10, column: 28, }, end: Position { line: 10, column: 53, }, }, }, ), ], span: Span { start: Position { line: 10, column: 27, }, end: Position { line: 10, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "additional_checksd", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/etc/datadog-agent/checks.d", span: Span { start: Position { line: 11, column: 28, }, end: Position { line: 11, column: 55, }, }, }, ), ], span: Span { start: Position { line: 11, column: 27, }, end: Position { line: 11, column: 56, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "use_dogstatsd", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 12, column: 27, }, end: Position { line: 12, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 8, column: 12, }, end: Position { line: 13, column: 4, }, }, }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 14, column: 6, }, end: Position { line: 14, column: 19, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 14, column: 21, }, end: Position { line: 14, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logLevel", span: Span { start: Position { line: 14, column: 25, }, end: Position { line: 14, column: 33, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 14, column: 37, }, end: Position { line: 14, column: 41, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "log_level", span: Span { start: Position { line: 14, column: 45, }, end: Position { line: 14, column: 54, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 14, column: 57, }, end: Position { line: 14, column: 60, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logLevel", span: Span { start: Position { line: 14, column: 61, }, end: Position { line: 14, column: 69, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 14, column: 43, }, end: Position { line: 14, column: 72, }, }, }, ), ], }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 15, column: 6, }, end: Position { line: 15, column: 19, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 15, column: 21, }, end: Position { line: 15, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hostname", span: Span { start: Position { line: 15, column: 25, }, end: Position { line: 15, column: 33, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 15, column: 37, }, end: Position { line: 15, column: 41, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 15, column: 54, }, end: Position { line: 15, column: 57, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "hostname", span: Span { start: Position { line: 15, column: 59, }, end: Position { line: 15, column: 67, }, }, }, ), ], span: Span { start: Position { line: 15, column: 44, }, end: Position { line: 15, column: 68, }, }, }, ), ], span: Span { start: Position { line: 15, column: 43, }, end: Position { line: 15, column: 70, }, }, }, ), ], }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 16, column: 6, }, end: Position { line: 16, column: 19, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 16, column: 21, }, end: Position { line: 16, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ddUrl", span: Span { start: Position { line: 16, column: 25, }, end: Position { line: 16, column: 30, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 16, column: 34, }, end: Position { line: 16, column: 38, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dd_url", span: Span { start: Position { line: 16, column: 42, }, end: Position { line: 16, column: 48, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 16, column: 51, }, end: Position { line: 16, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ddUrl", span: Span { start: Position { line: 16, column: 55, }, end: Position { line: 16, column: 60, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 16, column: 40, }, end: Position { line: 16, column: 63, }, }, }, ), ], }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 17, column: 6, }, end: Position { line: 17, column: 19, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 17, column: 21, }, end: Position { line: 17, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "site", span: Span { start: Position { line: 17, column: 25, }, end: Position { line: 17, column: 29, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 17, column: 33, }, end: Position { line: 17, column: 37, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "site", span: Span { start: Position { line: 17, column: 41, }, end: Position { line: 17, column: 45, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 17, column: 48, }, end: Position { line: 17, column: 51, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "site", span: Span { start: Position { line: 17, column: 52, }, end: Position { line: 17, column: 56, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 17, column: 39, }, end: Position { line: 17, column: 59, }, }, }, ), ], }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 18, column: 6, }, end: Position { line: 18, column: 19, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 18, column: 21, }, end: Position { line: 18, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "tags", span: Span { start: Position { line: 18, column: 25, }, end: Position { line: 18, column: 29, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 18, column: 33, }, end: Position { line: 18, column: 37, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tags", span: Span { start: Position { line: 18, column: 42, }, end: Position { line: 18, column: 46, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 18, column: 49, }, end: Position { line: 18, column: 65, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ", ", span: Span { start: Position { line: 18, column: 67, }, end: Position { line: 18, column: 69, }, }, }, ), ], span: Span { start: Position { line: 18, column: 66, }, end: Position { line: 18, column: 70, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 18, column: 71, }, end: Position { line: 18, column: 74, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "tags", span: Span { start: Position { line: 18, column: 75, }, end: Position { line: 18, column: 79, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 18, column: 40, }, end: Position { line: 18, column: 82, }, }, }, ), ], }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 19, column: 6, }, end: Position { line: 19, column: 19, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 19, column: 21, }, end: Position { line: 19, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableLiveProcessCollection", span: Span { start: Position { line: 19, column: 25, }, end: Position { line: 19, column: 52, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "process_config", span: Span { start: Position { line: 19, column: 56, }, end: Position { line: 19, column: 70, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enabled", span: Span { start: Position { line: 19, column: 75, }, end: Position { line: 19, column: 82, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "true", span: Span { start: Position { line: 19, column: 86, }, end: Position { line: 19, column: 90, }, }, }, ), ], span: Span { start: Position { line: 19, column: 85, }, end: Position { line: 19, column: 91, }, }, }, ), }, ), ], span: Span { start: Position { line: 19, column: 73, }, end: Position { line: 19, column: 94, }, }, }, ), }, ), ], span: Span { start: Position { line: 19, column: 54, }, end: Position { line: 19, column: 97, }, }, }, ), ], }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 20, column: 6, }, end: Position { line: 20, column: 19, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 20, column: 21, }, end: Position { line: 20, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableTraceAgent", span: Span { start: Position { line: 20, column: 25, }, end: Position { line: 20, column: 41, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "apm_config", span: Span { start: Position { line: 20, column: 45, }, end: Position { line: 20, column: 55, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enabled", span: Span { start: Position { line: 20, column: 60, }, end: Position { line: 20, column: 67, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 20, column: 70, }, end: Position { line: 20, column: 74, }, }, }, ), }, ), ], span: Span { start: Position { line: 20, column: 58, }, end: Position { line: 20, column: 77, }, }, }, ), }, ), ], span: Span { start: Position { line: 20, column: 43, }, end: Position { line: 20, column: 80, }, }, }, ), ], }, ), operator: Update, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 21, column: 6, }, end: Position { line: 21, column: 9, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 21, column: 10, }, end: Position { line: 21, column: 21, }, }, }, ), ], default: None, }, ), }, ), }, ), }, ), }, ), }, ), }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "makeCheckConfigs", span: Span { start: Position { line: 26, column: 3, }, end: Position { line: 26, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "entries", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs'", span: Span { start: Position { line: 26, column: 31, }, end: Position { line: 26, column: 40, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "conf", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 27, column: 5, }, end: Position { line: 27, column: 9, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "datadog-agent/conf.d/", span: Span { start: Position { line: 27, column: 13, }, end: Position { line: 27, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 27, column: 36, }, end: Position { line: 27, column: 40, }, }, }, ), }, ), Raw( PartRaw { content: ".d/conf.yaml", span: Span { start: Position { line: 27, column: 13, }, end: Position { line: 27, column: 53, }, }, }, ), ], span: Span { start: Position { line: 27, column: 12, }, end: Position { line: 27, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 10, }, }, }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 28, column: 11, }, end: Position { line: 28, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 28, column: 20, }, end: Position { line: 28, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 28, column: 25, }, end: Position { line: 28, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 28, column: 38, }, end: Position { line: 28, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: "-check-conf.yaml", span: Span { start: Position { line: 28, column: 36, }, end: Position { line: 28, column: 59, }, }, }, ), ], span: Span { start: Position { line: 28, column: 35, }, end: Position { line: 28, column: 60, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 28, column: 62, }, end: Position { line: 28, column: 70, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toJSON", span: Span { start: Position { line: 28, column: 71, }, end: Position { line: 28, column: 77, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "conf", span: Span { start: Position { line: 28, column: 78, }, end: Position { line: 28, column: 82, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 26, column: 54, }, end: Position { line: 29, column: 4, }, }, }, ), span: Span { start: Position { line: 26, column: 48, }, end: Position { line: 29, column: 4, }, }, }, ), span: Span { start: Position { line: 26, column: 42, }, end: Position { line: 29, column: 4, }, }, }, ), Identifier( Identifier { id: "entries", span: Span { start: Position { line: 29, column: 6, }, end: Position { line: 29, column: 13, }, }, }, ), ], }, ), span: Span { start: Position { line: 26, column: 22, }, end: Position { line: 29, column: 13, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultChecks", span: Span { start: Position { line: 31, column: 3, }, end: Position { line: 31, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "disk", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 9, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 32, column: 12, }, end: Position { line: 32, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "diskCheck", span: Span { start: Position { line: 32, column: 16, }, end: Position { line: 32, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "network", span: Span { start: Position { line: 33, column: 5, }, end: Position { line: 33, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 33, column: 15, }, end: Position { line: 33, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "networkCheck", span: Span { start: Position { line: 33, column: 19, }, end: Position { line: 33, column: 31, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 31, column: 19, }, end: Position { line: 34, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "etcfiles", span: Span { start: Position { line: 38, column: 3, }, end: Position { line: 38, column: 11, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 38, column: 19, }, end: Position { line: 38, column: 23, }, }, }, ), target: With( With { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 38, column: 30, }, end: Position { line: 38, column: 38, }, }, }, ), target: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "datadog-agent/datadog.yaml", span: Span { start: Position { line: 39, column: 6, }, end: Position { line: 39, column: 32, }, }, }, ), ], span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 39, column: 33, }, }, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "writeText", span: Span { start: Position { line: 40, column: 16, }, end: Position { line: 40, column: 25, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "datadog.yaml", span: Span { start: Position { line: 40, column: 27, }, end: Position { line: 40, column: 39, }, }, }, ), ], span: Span { start: Position { line: 40, column: 26, }, end: Position { line: 40, column: 40, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toJSON", span: Span { start: Position { line: 40, column: 42, }, end: Position { line: 40, column: 48, }, }, }, ), arguments: [ Identifier( Identifier { id: "ddConf", span: Span { start: Position { line: 40, column: 49, }, end: Position { line: 40, column: 55, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 39, column: 36, }, end: Position { line: 41, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 39, column: 3, }, end: Position { line: 42, column: 4, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "makeCheckConfigs", span: Span { start: Position { line: 42, column: 8, }, end: Position { line: 42, column: 24, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 42, column: 26, }, end: Position { line: 42, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "checks", span: Span { start: Position { line: 42, column: 30, }, end: Position { line: 42, column: 36, }, }, }, ), ], default: None, }, ), operator: Update, right: Identifier( Identifier { id: "defaultChecks", span: Span { start: Position { line: 42, column: 40, }, end: Position { line: 42, column: 53, }, }, }, ), }, ), ], }, ), }, ), span: Span { start: Position { line: 38, column: 25, }, end: Position { line: 42, column: 54, }, }, }, ), span: Span { start: Position { line: 38, column: 14, }, end: Position { line: 42, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "datadogPkg", span: Span { start: Position { line: 47, column: 3, }, end: Position { line: 47, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 47, column: 16, }, end: Position { line: 47, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 47, column: 20, }, end: Position { line: 47, column: 27, }, }, }, ), Raw( PartRaw { content: "override", span: Span { start: Position { line: 47, column: 28, }, end: Position { line: 47, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pythonPackages", span: Span { start: Position { line: 48, column: 5, }, end: Position { line: 48, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 48, column: 22, }, end: Position { line: 48, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "datadog-integrations-core", span: Span { start: Position { line: 48, column: 27, }, end: Position { line: 48, column: 52, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 48, column: 53, }, end: Position { line: 48, column: 56, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraIntegrations", span: Span { start: Position { line: 48, column: 57, }, end: Position { line: 48, column: 74, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 47, column: 37, }, end: Position { line: 49, column: 4, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 51, column: 3, }, end: Position { line: 51, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 51, column: 11, }, end: Position { line: 51, column: 19, }, }, }, ), Raw( PartRaw { content: "datadog-agent", span: Span { start: Position { line: 51, column: 20, }, end: Position { line: 51, column: 33, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 52, column: 5, }, end: Position { line: 52, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 52, column: 14, }, end: Position { line: 52, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 53, column: 7, }, end: Position { line: 53, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 53, column: 21, }, end: Position { line: 53, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 53, column: 25, }, end: Position { line: 53, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to enable the datadog-agent v7 monitoring service\n", span: Span { start: Position { line: 54, column: 1, }, end: Position { line: 55, column: 7, }, }, }, ), ], span: Span { start: Position { line: 53, column: 31, }, end: Position { line: 55, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 56, column: 7, }, end: Position { line: 56, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 56, column: 17, }, end: Position { line: 56, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 57, column: 7, }, end: Position { line: 57, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 57, column: 14, }, end: Position { line: 57, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 57, column: 20, }, end: Position { line: 57, column: 24, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 52, column: 23, }, end: Position { line: 58, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 60, column: 5, }, end: Position { line: 60, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 60, column: 15, }, end: Position { line: 60, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 61, column: 7, }, end: Position { line: 61, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 61, column: 17, }, end: Position { line: 61, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "datadog-agent", span: Span { start: Position { line: 61, column: 22, }, end: Position { line: 61, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 62, column: 7, }, end: Position { line: 62, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 62, column: 21, }, end: Position { line: 62, column: 38, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.datadog-agent", span: Span { start: Position { line: 62, column: 40, }, end: Position { line: 62, column: 58, }, }, }, ), ], span: Span { start: Position { line: 62, column: 39, }, end: Position { line: 62, column: 59, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 63, column: 7, }, end: Position { line: 63, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 63, column: 21, }, end: Position { line: 63, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 63, column: 25, }, end: Position { line: 63, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Which DataDog v7 agent package to use. Note that the provided\npackage is expected to have an overridable `pythonPackages`-attribute\nwhich configures the Python environment with the Datadog\nchecks.\n", span: Span { start: Position { line: 64, column: 1, }, end: Position { line: 68, column: 7, }, }, }, ), ], span: Span { start: Position { line: 63, column: 31, }, end: Position { line: 68, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 69, column: 7, }, end: Position { line: 69, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 69, column: 14, }, end: Position { line: 69, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 69, column: 20, }, end: Position { line: 69, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 60, column: 24, }, end: Position { line: 70, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "apiKeyFile", span: Span { start: Position { line: 72, column: 5, }, end: Position { line: 72, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 72, column: 18, }, end: Position { line: 72, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 73, column: 7, }, end: Position { line: 73, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 73, column: 21, }, end: Position { line: 73, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 73, column: 25, }, end: Position { line: 73, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path to a file containing the Datadog API key to associate the\nagent with your account.\n", span: Span { start: Position { line: 74, column: 1, }, end: Position { line: 76, column: 7, }, }, }, ), ], span: Span { start: Position { line: 73, column: 31, }, end: Position { line: 76, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 77, column: 7, }, end: Position { line: 77, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/keys/datadog_api_key", span: Span { start: Position { line: 77, column: 18, }, end: Position { line: 77, column: 43, }, }, }, ), ], span: Span { start: Position { line: 77, column: 17, }, end: Position { line: 77, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 78, column: 7, }, end: Position { line: 78, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 78, column: 14, }, end: Position { line: 78, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 78, column: 20, }, end: Position { line: 78, column: 24, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 72, column: 27, }, end: Position { line: 79, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ddUrl", span: Span { start: Position { line: 81, column: 5, }, end: Position { line: 81, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 81, column: 13, }, end: Position { line: 81, column: 21, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 82, column: 7, }, end: Position { line: 82, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 82, column: 21, }, end: Position { line: 82, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 82, column: 25, }, end: Position { line: 82, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Custom dd_url to configure the agent with. Useful if traffic to datadog\nneeds to go through a proxy.\nDon't use this to point to another datadog site (EU) - use site instead.\n", span: Span { start: Position { line: 83, column: 1, }, end: Position { line: 86, column: 7, }, }, }, ), ], span: Span { start: Position { line: 82, column: 31, }, end: Position { line: 86, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 87, column: 7, }, end: Position { line: 87, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 87, column: 17, }, end: Position { line: 87, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 88, column: 7, }, end: Position { line: 88, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "http://haproxy.example.com:3834", span: Span { start: Position { line: 88, column: 18, }, end: Position { line: 88, column: 49, }, }, }, ), ], span: Span { start: Position { line: 88, column: 17, }, end: Position { line: 88, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 89, column: 7, }, end: Position { line: 89, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 89, column: 14, }, end: Position { line: 89, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 89, column: 20, }, end: Position { line: 89, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 89, column: 27, }, end: Position { line: 89, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 89, column: 33, }, end: Position { line: 89, column: 36, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 81, column: 22, }, end: Position { line: 90, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "site", span: Span { start: Position { line: 92, column: 5, }, end: Position { line: 92, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 92, column: 12, }, end: Position { line: 92, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 93, column: 7, }, end: Position { line: 93, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 93, column: 21, }, end: Position { line: 93, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 93, column: 25, }, end: Position { line: 93, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The datadog site to point the agent towards.\nSet to datadoghq.eu to point it to their EU site.\n", span: Span { start: Position { line: 94, column: 1, }, end: Position { line: 96, column: 7, }, }, }, ), ], span: Span { start: Position { line: 93, column: 31, }, end: Position { line: 96, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 97, column: 7, }, end: Position { line: 97, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 97, column: 17, }, end: Position { line: 97, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 98, column: 7, }, end: Position { line: 98, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "datadoghq.eu", span: Span { start: Position { line: 98, column: 18, }, end: Position { line: 98, column: 30, }, }, }, ), ], span: Span { start: Position { line: 98, column: 17, }, end: Position { line: 98, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 99, column: 7, }, end: Position { line: 99, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 99, column: 14, }, end: Position { line: 99, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 99, column: 20, }, end: Position { line: 99, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 99, column: 27, }, end: Position { line: 99, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 99, column: 33, }, end: Position { line: 99, column: 36, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 92, column: 21, }, end: Position { line: 100, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tags", span: Span { start: Position { line: 102, column: 5, }, end: Position { line: 102, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 102, column: 12, }, end: Position { line: 102, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 103, column: 7, }, end: Position { line: 103, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 103, column: 21, }, end: Position { line: 103, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 103, column: 25, }, end: Position { line: 103, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The tags to mark this Datadog agent", span: Span { start: Position { line: 103, column: 32, }, end: Position { line: 103, column: 67, }, }, }, ), ], span: Span { start: Position { line: 103, column: 31, }, end: Position { line: 103, column: 68, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 104, column: 7, }, end: Position { line: 104, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "test", span: Span { start: Position { line: 104, column: 20, }, end: Position { line: 104, column: 24, }, }, }, ), ], span: Span { start: Position { line: 104, column: 19, }, end: Position { line: 104, column: 25, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "service", span: Span { start: Position { line: 104, column: 27, }, end: Position { line: 104, column: 34, }, }, }, ), ], span: Span { start: Position { line: 104, column: 26, }, end: Position { line: 104, column: 35, }, }, }, ), ], span: Span { start: Position { line: 104, column: 17, }, end: Position { line: 104, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 105, column: 7, }, end: Position { line: 105, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 105, column: 17, }, end: Position { line: 105, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 106, column: 7, }, end: Position { line: 106, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 106, column: 14, }, end: Position { line: 106, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 106, column: 20, }, end: Position { line: 106, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 106, column: 28, }, end: Position { line: 106, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 106, column: 34, }, end: Position { line: 106, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 106, column: 41, }, end: Position { line: 106, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 106, column: 47, }, end: Position { line: 106, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 102, column: 21, }, end: Position { line: 107, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hostname", span: Span { start: Position { line: 109, column: 5, }, end: Position { line: 109, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 109, column: 16, }, end: Position { line: 109, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 110, column: 7, }, end: Position { line: 110, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 110, column: 21, }, end: Position { line: 110, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 110, column: 25, }, end: Position { line: 110, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The hostname to show in the Datadog dashboard (optional)", span: Span { start: Position { line: 110, column: 32, }, end: Position { line: 110, column: 88, }, }, }, ), ], span: Span { start: Position { line: 110, column: 31, }, end: Position { line: 110, column: 89, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 111, column: 7, }, end: Position { line: 111, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 111, column: 17, }, end: Position { line: 111, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 112, column: 7, }, end: Position { line: 112, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "mymachine.mydomain", span: Span { start: Position { line: 112, column: 18, }, end: Position { line: 112, column: 36, }, }, }, ), ], span: Span { start: Position { line: 112, column: 17, }, end: Position { line: 112, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 113, column: 7, }, end: Position { line: 113, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 113, column: 14, }, end: Position { line: 113, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 113, column: 20, }, end: Position { line: 113, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 113, column: 27, }, end: Position { line: 113, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 113, column: 33, }, end: Position { line: 113, column: 36, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 109, column: 25, }, end: Position { line: 114, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logLevel", span: Span { start: Position { line: 116, column: 5, }, end: Position { line: 116, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 116, column: 16, }, end: Position { line: 116, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 117, column: 7, }, end: Position { line: 117, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 117, column: 21, }, end: Position { line: 117, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 117, column: 25, }, end: Position { line: 117, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Logging verbosity.", span: Span { start: Position { line: 117, column: 32, }, end: Position { line: 117, column: 50, }, }, }, ), ], span: Span { start: Position { line: 117, column: 31, }, end: Position { line: 117, column: 51, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 118, column: 7, }, end: Position { line: 118, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 118, column: 17, }, end: Position { line: 118, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 119, column: 7, }, end: Position { line: 119, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 119, column: 14, }, end: Position { line: 119, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 119, column: 20, }, end: Position { line: 119, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 119, column: 28, }, end: Position { line: 119, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 119, column: 34, }, end: Position { line: 119, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "DEBUG", span: Span { start: Position { line: 119, column: 41, }, end: Position { line: 119, column: 46, }, }, }, ), ], span: Span { start: Position { line: 119, column: 40, }, end: Position { line: 119, column: 47, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "INFO", span: Span { start: Position { line: 119, column: 49, }, end: Position { line: 119, column: 53, }, }, }, ), ], span: Span { start: Position { line: 119, column: 48, }, end: Position { line: 119, column: 54, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "WARN", span: Span { start: Position { line: 119, column: 56, }, end: Position { line: 119, column: 60, }, }, }, ), ], span: Span { start: Position { line: 119, column: 55, }, end: Position { line: 119, column: 61, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "ERROR", span: Span { start: Position { line: 119, column: 63, }, end: Position { line: 119, column: 68, }, }, }, ), ], span: Span { start: Position { line: 119, column: 62, }, end: Position { line: 119, column: 69, }, }, }, ), ], span: Span { start: Position { line: 119, column: 39, }, end: Position { line: 119, column: 70, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 116, column: 25, }, end: Position { line: 120, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraIntegrations", span: Span { start: Position { line: 122, column: 5, }, end: Position { line: 122, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 122, column: 25, }, end: Position { line: 122, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 123, column: 7, }, end: Position { line: 123, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 123, column: 17, }, end: Position { line: 123, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 124, column: 7, }, end: Position { line: 124, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 124, column: 17, }, end: Position { line: 124, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrs", span: Span { start: Position { line: 124, column: 23, }, end: Position { line: 124, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 126, column: 7, }, end: Position { line: 126, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 126, column: 21, }, end: Position { line: 126, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 126, column: 25, }, end: Position { line: 126, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Extra integrations from the Datadog core-integrations\nrepository that should be built and included.\n\nBy default the included integrations are disk, mongo, network,\nnginx and postgres.\n\nTo include additional integrations the name of the derivation\nand a function to filter its dependencies from the Python\npackage set must be provided.\n", span: Span { start: Position { line: 127, column: 1, }, end: Position { line: 136, column: 7, }, }, }, ), ], span: Span { start: Position { line: 126, column: 31, }, end: Position { line: 136, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 138, column: 7, }, end: Position { line: 138, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 138, column: 17, }, end: Position { line: 138, column: 34, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n ntp = pythonPackages: [ pythonPackages.ntplib ];\n}\n", span: Span { start: Position { line: 139, column: 1, }, end: Position { line: 142, column: 7, }, }, }, ), ], span: Span { start: Position { line: 138, column: 35, }, end: Position { line: 142, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 122, column: 34, }, end: Position { line: 143, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 145, column: 5, }, end: Position { line: 145, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 145, column: 19, }, end: Position { line: 145, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 146, column: 7, }, end: Position { line: 146, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 146, column: 17, }, end: Position { line: 146, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 147, column: 7, }, end: Position { line: 147, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 147, column: 14, }, end: Position { line: 147, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrs", span: Span { start: Position { line: 147, column: 20, }, end: Position { line: 147, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 148, column: 7, }, end: Position { line: 148, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 148, column: 21, }, end: Position { line: 148, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 148, column: 25, }, end: Position { line: 148, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Extra configuration options that will be merged into the\nmain config file {file}`datadog.yaml`.\n", span: Span { start: Position { line: 149, column: 1, }, end: Position { line: 151, column: 7, }, }, }, ), ], span: Span { start: Position { line: 148, column: 31, }, end: Position { line: 151, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 145, column: 28, }, end: Position { line: 152, column: 7, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enableLiveProcessCollection", span: Span { start: Position { line: 154, column: 5, }, end: Position { line: 154, column: 32, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 154, column: 35, }, end: Position { line: 154, column: 43, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 155, column: 7, }, end: Position { line: 155, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 155, column: 21, }, end: Position { line: 155, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 155, column: 25, }, end: Position { line: 155, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to enable the live process collection agent.\n", span: Span { start: Position { line: 156, column: 1, }, end: Position { line: 157, column: 7, }, }, }, ), ], span: Span { start: Position { line: 155, column: 31, }, end: Position { line: 157, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 158, column: 7, }, end: Position { line: 158, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 158, column: 17, }, end: Position { line: 158, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 159, column: 7, }, end: Position { line: 159, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 159, column: 14, }, end: Position { line: 159, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 159, column: 20, }, end: Position { line: 159, column: 24, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 154, column: 44, }, end: Position { line: 160, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enableTraceAgent", span: Span { start: Position { line: 162, column: 5, }, end: Position { line: 162, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 162, column: 24, }, end: Position { line: 162, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 163, column: 7, }, end: Position { line: 163, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 163, column: 21, }, end: Position { line: 163, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 163, column: 25, }, end: Position { line: 163, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to enable the trace agent.\n", span: Span { start: Position { line: 164, column: 1, }, end: Position { line: 165, column: 7, }, }, }, ), ], span: Span { start: Position { line: 163, column: 31, }, end: Position { line: 165, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 166, column: 7, }, end: Position { line: 166, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 166, column: 17, }, end: Position { line: 166, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 167, column: 7, }, end: Position { line: 167, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 167, column: 14, }, end: Position { line: 167, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 167, column: 20, }, end: Position { line: 167, column: 24, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 162, column: 33, }, end: Position { line: 168, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "checks", span: Span { start: Position { line: 170, column: 5, }, end: Position { line: 170, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 170, column: 14, }, end: Position { line: 170, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 171, column: 7, }, end: Position { line: 171, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 171, column: 21, }, end: Position { line: 171, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 171, column: 25, }, end: Position { line: 171, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Configuration for all Datadog checks. Keys of this attribute\nset will be used as the name of the check to create the\nappropriate configuration in `conf.d/$check.d/conf.yaml`.\n\nThe configuration is converted into JSON from the plain Nix\nlanguage configuration, meaning that you should write\nconfiguration adhering to Datadog's documentation - but in Nix\nlanguage.\n\nRefer to the implementation of this module (specifically the\ndefinition of `defaultChecks`) for an example.\n\nNote: The 'disk' and 'network' check are configured in\nseparate options because they exist by default. Attempting to\noverride their configuration here will have no effect.\n", span: Span { start: Position { line: 172, column: 1, }, end: Position { line: 187, column: 7, }, }, }, ), ], span: Span { start: Position { line: 171, column: 31, }, end: Position { line: 187, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 189, column: 7, }, end: Position { line: 189, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "http_check", span: Span { start: Position { line: 190, column: 9, }, end: Position { line: 190, column: 19, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "init_config", span: Span { start: Position { line: 191, column: 11, }, end: Position { line: 191, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 191, column: 25, }, end: Position { line: 191, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "instances", span: Span { start: Position { line: 192, column: 11, }, end: Position { line: 192, column: 20, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 194, column: 15, }, end: Position { line: 194, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "some-service", span: Span { start: Position { line: 194, column: 23, }, end: Position { line: 194, column: 35, }, }, }, ), ], span: Span { start: Position { line: 194, column: 22, }, end: Position { line: 194, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "url", span: Span { start: Position { line: 195, column: 15, }, end: Position { line: 195, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "http://localhost:1337/healthz", span: Span { start: Position { line: 195, column: 22, }, end: Position { line: 195, column: 51, }, }, }, ), ], span: Span { start: Position { line: 195, column: 21, }, end: Position { line: 195, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tags", span: Span { start: Position { line: 196, column: 15, }, end: Position { line: 196, column: 19, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "some-service", span: Span { start: Position { line: 196, column: 25, }, end: Position { line: 196, column: 37, }, }, }, ), ], span: Span { start: Position { line: 196, column: 24, }, end: Position { line: 196, column: 38, }, }, }, ), ], span: Span { start: Position { line: 196, column: 22, }, end: Position { line: 196, column: 40, }, }, }, ), }, ), ], span: Span { start: Position { line: 193, column: 13, }, end: Position { line: 197, column: 14, }, }, }, ), ], span: Span { start: Position { line: 192, column: 23, }, end: Position { line: 198, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 190, column: 22, }, end: Position { line: 199, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 189, column: 17, }, end: Position { line: 200, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 202, column: 7, }, end: Position { line: 202, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 202, column: 17, }, end: Position { line: 202, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 206, column: 7, }, end: Position { line: 206, column: 11, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 206, column: 19, }, end: Position { line: 206, column: 24, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 206, column: 26, }, end: Position { line: 206, column: 33, }, }, }, ), arguments: [ Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 206, column: 34, }, end: Position { line: 206, column: 39, }, }, }, ), ], }, ), span: Span { start: Position { line: 206, column: 14, }, end: Position { line: 206, column: 39, }, }, }, ), }, ), ], span: Span { start: Position { line: 170, column: 23, }, end: Position { line: 207, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "diskCheck", span: Span { start: Position { line: 209, column: 5, }, end: Position { line: 209, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 209, column: 17, }, end: Position { line: 209, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 210, column: 7, }, end: Position { line: 210, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 210, column: 21, }, end: Position { line: 210, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 210, column: 25, }, end: Position { line: 210, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Disk check config", span: Span { start: Position { line: 210, column: 32, }, end: Position { line: 210, column: 49, }, }, }, ), ], span: Span { start: Position { line: 210, column: 31, }, end: Position { line: 210, column: 50, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 211, column: 7, }, end: Position { line: 211, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 211, column: 14, }, end: Position { line: 211, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrs", span: Span { start: Position { line: 211, column: 20, }, end: Position { line: 211, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 212, column: 7, }, end: Position { line: 212, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "init_config", span: Span { start: Position { line: 213, column: 9, }, end: Position { line: 213, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 213, column: 23, }, end: Position { line: 213, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "instances", span: Span { start: Position { line: 214, column: 9, }, end: Position { line: 214, column: 18, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "use_mount", span: Span { start: Position { line: 214, column: 25, }, end: Position { line: 214, column: 34, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "false", span: Span { start: Position { line: 214, column: 38, }, end: Position { line: 214, column: 43, }, }, }, ), ], span: Span { start: Position { line: 214, column: 37, }, end: Position { line: 214, column: 44, }, }, }, ), }, ), ], span: Span { start: Position { line: 214, column: 23, }, end: Position { line: 214, column: 47, }, }, }, ), ], span: Span { start: Position { line: 214, column: 21, }, end: Position { line: 214, column: 49, }, }, }, ), }, ), ], span: Span { start: Position { line: 212, column: 17, }, end: Position { line: 215, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 209, column: 26, }, end: Position { line: 216, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networkCheck", span: Span { start: Position { line: 218, column: 5, }, end: Position { line: 218, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 218, column: 20, }, end: Position { line: 218, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 219, column: 7, }, end: Position { line: 219, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 219, column: 21, }, end: Position { line: 219, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 219, column: 25, }, end: Position { line: 219, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Network check config", span: Span { start: Position { line: 219, column: 32, }, end: Position { line: 219, column: 52, }, }, }, ), ], span: Span { start: Position { line: 219, column: 31, }, end: Position { line: 219, column: 53, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 220, column: 7, }, end: Position { line: 220, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 220, column: 14, }, end: Position { line: 220, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrs", span: Span { start: Position { line: 220, column: 20, }, end: Position { line: 220, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 221, column: 7, }, end: Position { line: 221, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "init_config", span: Span { start: Position { line: 222, column: 9, }, end: Position { line: 222, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 222, column: 23, }, end: Position { line: 222, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "instances", span: Span { start: Position { line: 224, column: 9, }, end: Position { line: 224, column: 18, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "collect_connection_state", span: Span { start: Position { line: 224, column: 25, }, end: Position { line: 224, column: 49, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 224, column: 52, }, end: Position { line: 224, column: 57, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "excluded_interfaces", span: Span { start: Position { line: 225, column: 11, }, end: Position { line: 225, column: 30, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "lo", span: Span { start: Position { line: 225, column: 36, }, end: Position { line: 225, column: 38, }, }, }, ), ], span: Span { start: Position { line: 225, column: 35, }, end: Position { line: 225, column: 39, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "lo0", span: Span { start: Position { line: 225, column: 41, }, end: Position { line: 225, column: 44, }, }, }, ), ], span: Span { start: Position { line: 225, column: 40, }, end: Position { line: 225, column: 45, }, }, }, ), ], span: Span { start: Position { line: 225, column: 33, }, end: Position { line: 225, column: 47, }, }, }, ), }, ), ], span: Span { start: Position { line: 224, column: 23, }, end: Position { line: 225, column: 50, }, }, }, ), ], span: Span { start: Position { line: 224, column: 21, }, end: Position { line: 225, column: 52, }, }, }, ), }, ), ], span: Span { start: Position { line: 221, column: 17, }, end: Position { line: 226, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 218, column: 29, }, end: Position { line: 227, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 51, column: 36, }, end: Position { line: 228, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 229, column: 3, }, end: Position { line: 229, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 229, column: 12, }, end: Position { line: 229, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 229, column: 17, }, end: Position { line: 229, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 229, column: 21, }, end: Position { line: 229, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 230, column: 5, }, end: Position { line: 230, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 230, column: 17, }, end: Position { line: 230, column: 31, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "datadogPkg", span: Span { start: Position { line: 230, column: 36, }, end: Position { line: 230, column: 46, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 230, column: 47, }, end: Position { line: 230, column: 51, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sysstat", span: Span { start: Position { line: 230, column: 52, }, end: Position { line: 230, column: 59, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 230, column: 60, }, end: Position { line: 230, column: 64, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "procps", span: Span { start: Position { line: 230, column: 65, }, end: Position { line: 230, column: 71, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 230, column: 72, }, end: Position { line: 230, column: 76, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "iproute2", span: Span { start: Position { line: 230, column: 77, }, end: Position { line: 230, column: 85, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 230, column: 34, }, end: Position { line: 230, column: 87, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 232, column: 5, }, end: Position { line: 232, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 232, column: 11, }, end: Position { line: 232, column: 16, }, }, }, ), Raw( PartRaw { content: "datadog", span: Span { start: Position { line: 232, column: 17, }, end: Position { line: 232, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 233, column: 7, }, end: Position { line: 233, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Datadog Agent User", span: Span { start: Position { line: 233, column: 22, }, end: Position { line: 233, column: 40, }, }, }, ), ], span: Span { start: Position { line: 233, column: 21, }, end: Position { line: 233, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 234, column: 7, }, end: Position { line: 234, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 234, column: 13, }, end: Position { line: 234, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 234, column: 20, }, end: Position { line: 234, column: 23, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 234, column: 24, }, end: Position { line: 234, column: 28, }, }, }, ), Raw( PartRaw { content: "datadog", span: Span { start: Position { line: 234, column: 29, }, end: Position { line: 234, column: 36, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 235, column: 7, }, end: Position { line: 235, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "datadog", span: Span { start: Position { line: 235, column: 16, }, end: Position { line: 235, column: 23, }, }, }, ), ], span: Span { start: Position { line: 235, column: 15, }, end: Position { line: 235, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 236, column: 7, }, end: Position { line: 236, column: 11, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/log/datadog/", span: Span { start: Position { line: 236, column: 15, }, end: Position { line: 236, column: 32, }, }, }, ), ], span: Span { start: Position { line: 236, column: 14, }, end: Position { line: 236, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "createHome", span: Span { start: Position { line: 237, column: 7, }, end: Position { line: 237, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 237, column: 20, }, end: Position { line: 237, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 232, column: 27, }, end: Position { line: 238, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 240, column: 5, }, end: Position { line: 240, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 240, column: 11, }, end: Position { line: 240, column: 17, }, }, }, ), Raw( PartRaw { content: "datadog", span: Span { start: Position { line: 240, column: 18, }, end: Position { line: 240, column: 25, }, }, }, ), Raw( PartRaw { content: "gid", span: Span { start: Position { line: 240, column: 26, }, end: Position { line: 240, column: 29, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 240, column: 32, }, end: Position { line: 240, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 240, column: 39, }, end: Position { line: 240, column: 42, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 240, column: 43, }, end: Position { line: 240, column: 47, }, }, }, ), Raw( PartRaw { content: "datadog", span: Span { start: Position { line: 240, column: 48, }, end: Position { line: 240, column: 55, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 242, column: 5, }, end: Position { line: 242, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 242, column: 13, }, end: Position { line: 242, column: 21, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "makeService", span: Span { start: Position { line: 243, column: 7, }, end: Position { line: 243, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "recursiveUpdate", span: Span { start: Position { line: 243, column: 28, }, end: Position { line: 243, column: 43, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 244, column: 9, }, end: Position { line: 244, column: 13, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "datadogPkg", span: Span { start: Position { line: 244, column: 18, }, end: Position { line: 244, column: 28, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 244, column: 29, }, end: Position { line: 244, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "python", span: Span { start: Position { line: 244, column: 34, }, end: Position { line: 244, column: 40, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 244, column: 41, }, end: Position { line: 244, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sysstat", span: Span { start: Position { line: 244, column: 46, }, end: Position { line: 244, column: 53, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 244, column: 54, }, end: Position { line: 244, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "procps", span: Span { start: Position { line: 244, column: 59, }, end: Position { line: 244, column: 65, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 244, column: 66, }, end: Position { line: 244, column: 70, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "iproute2", span: Span { start: Position { line: 244, column: 71, }, end: Position { line: 244, column: 79, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 244, column: 16, }, end: Position { line: 244, column: 81, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 245, column: 9, }, end: Position { line: 245, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 245, column: 23, }, end: Position { line: 245, column: 40, }, }, }, ), ], span: Span { start: Position { line: 245, column: 22, }, end: Position { line: 245, column: 41, }, }, }, ), ], span: Span { start: Position { line: 245, column: 20, }, end: Position { line: 245, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 246, column: 9, }, end: Position { line: 246, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 247, column: 11, }, end: Position { line: 247, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "datadog", span: Span { start: Position { line: 247, column: 19, }, end: Position { line: 247, column: 26, }, }, }, ), ], span: Span { start: Position { line: 247, column: 18, }, end: Position { line: 247, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 248, column: 11, }, end: Position { line: 248, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "datadog", span: Span { start: Position { line: 248, column: 20, }, end: Position { line: 248, column: 27, }, }, }, ), ], span: Span { start: Position { line: 248, column: 19, }, end: Position { line: 248, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 249, column: 11, }, end: Position { line: 249, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 249, column: 22, }, end: Position { line: 249, column: 28, }, }, }, ), ], span: Span { start: Position { line: 249, column: 21, }, end: Position { line: 249, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestartSec", span: Span { start: Position { line: 250, column: 11, }, end: Position { line: 250, column: 21, }, }, }, ), ], to: Integer( Integer { value: "2", span: Span { start: Position { line: 250, column: 24, }, end: Position { line: 250, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 246, column: 25, }, end: Position { line: 251, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartTriggers", span: Span { start: Position { line: 252, column: 9, }, end: Position { line: 252, column: 24, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ Identifier( Identifier { id: "datadogPkg", span: Span { start: Position { line: 252, column: 29, }, end: Position { line: 252, column: 39, }, }, }, ), ], span: Span { start: Position { line: 252, column: 27, }, end: Position { line: 252, column: 41, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 252, column: 46, }, end: Position { line: 252, column: 49, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 252, column: 54, }, end: Position { line: 252, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 252, column: 56, }, end: Position { line: 252, column: 62, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 252, column: 51, }, end: Position { line: 252, column: 62, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrValues", span: Span { start: Position { line: 252, column: 65, }, end: Position { line: 252, column: 75, }, }, }, ), arguments: [ Identifier( Identifier { id: "etcfiles", span: Span { start: Position { line: 252, column: 76, }, end: Position { line: 252, column: 84, }, }, }, ), ], }, ), ], }, ), }, ), }, ), ], span: Span { start: Position { line: 243, column: 44, }, end: Position { line: 253, column: 8, }, }, }, ), Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 253, column: 9, }, end: Position { line: 253, column: 14, }, }, }, ), ], }, ), span: Span { start: Position { line: 243, column: 21, }, end: Position { line: 253, column: 14, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "datadog-agent", span: Span { start: Position { line: 255, column: 7, }, end: Position { line: 255, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "makeService", span: Span { start: Position { line: 255, column: 23, }, end: Position { line: 255, column: 34, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 256, column: 9, }, end: Position { line: 256, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Datadog agent monitor", span: Span { start: Position { line: 256, column: 24, }, end: Position { line: 256, column: 45, }, }, }, ), ], span: Span { start: Position { line: 256, column: 23, }, end: Position { line: 256, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 257, column: 9, }, end: Position { line: 257, column: 17, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "chown -R datadog: /etc/datadog-agent\nrm -f /etc/datadog-agent/auth_token\n", span: Span { start: Position { line: 258, column: 1, }, end: Position { line: 260, column: 9, }, }, }, ), ], span: Span { start: Position { line: 257, column: 20, }, end: Position { line: 260, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 261, column: 9, }, end: Position { line: 261, column: 15, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "export DD_API_KEY=$(head -n 1 ", span: Span { start: Position { line: 262, column: 1, }, end: Position { line: 262, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 262, column: 43, }, end: Position { line: 262, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "apiKeyFile", span: Span { start: Position { line: 262, column: 47, }, end: Position { line: 262, column: 57, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ")\nexec ", span: Span { start: Position { line: 262, column: 1, }, end: Position { line: 263, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "datadogPkg", span: Span { start: Position { line: 263, column: 18, }, end: Position { line: 263, column: 28, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/agent run -c /etc/datadog-agent/datadog.yaml\n", span: Span { start: Position { line: 262, column: 1, }, end: Position { line: 264, column: 9, }, }, }, ), ], span: Span { start: Position { line: 261, column: 18, }, end: Position { line: 264, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 265, column: 9, }, end: Position { line: 265, column: 22, }, }, }, ), Raw( PartRaw { content: "PermissionsStartOnly", span: Span { start: Position { line: 265, column: 23, }, end: Position { line: 265, column: 43, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 265, column: 46, }, end: Position { line: 265, column: 50, }, }, }, ), }, ), ], span: Span { start: Position { line: 255, column: 35, }, end: Position { line: 266, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dd-jmxfetch", span: Span { start: Position { line: 268, column: 7, }, end: Position { line: 268, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 268, column: 21, }, end: Position { line: 268, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 268, column: 25, }, end: Position { line: 268, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 268, column: 31, }, end: Position { line: 268, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hasAttr", span: Span { start: Position { line: 268, column: 35, }, end: Position { line: 268, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "jmx", span: Span { start: Position { line: 268, column: 44, }, end: Position { line: 268, column: 47, }, }, }, ), ], span: Span { start: Position { line: 268, column: 43, }, end: Position { line: 268, column: 48, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 268, column: 49, }, end: Position { line: 268, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "checks", span: Span { start: Position { line: 268, column: 53, }, end: Position { line: 268, column: 59, }, }, }, ), ], default: None, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "makeService", span: Span { start: Position { line: 268, column: 62, }, end: Position { line: 268, column: 73, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 269, column: 9, }, end: Position { line: 269, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Datadog JMX Fetcher", span: Span { start: Position { line: 269, column: 24, }, end: Position { line: 269, column: 43, }, }, }, ), ], span: Span { start: Position { line: 269, column: 23, }, end: Position { line: 269, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 270, column: 9, }, end: Position { line: 270, column: 13, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "datadogPkg", span: Span { start: Position { line: 270, column: 18, }, end: Position { line: 270, column: 28, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 270, column: 29, }, end: Position { line: 270, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "python", span: Span { start: Position { line: 270, column: 34, }, end: Position { line: 270, column: 40, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 270, column: 41, }, end: Position { line: 270, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sysstat", span: Span { start: Position { line: 270, column: 46, }, end: Position { line: 270, column: 53, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 270, column: 54, }, end: Position { line: 270, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "procps", span: Span { start: Position { line: 270, column: 59, }, end: Position { line: 270, column: 65, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 270, column: 66, }, end: Position { line: 270, column: 70, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "jdk", span: Span { start: Position { line: 270, column: 71, }, end: Position { line: 270, column: 74, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 270, column: 16, }, end: Position { line: 270, column: 76, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 271, column: 9, }, end: Position { line: 271, column: 22, }, }, }, ), Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 271, column: 23, }, end: Position { line: 271, column: 32, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "datadogPkg", span: Span { start: Position { line: 271, column: 38, }, end: Position { line: 271, column: 48, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/dd-jmxfetch", span: Span { start: Position { line: 271, column: 36, }, end: Position { line: 271, column: 65, }, }, }, ), ], span: Span { start: Position { line: 271, column: 35, }, end: Position { line: 271, column: 66, }, }, }, ), }, ), ], span: Span { start: Position { line: 268, column: 74, }, end: Position { line: 272, column: 8, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "datadog-process-agent", span: Span { start: Position { line: 274, column: 7, }, end: Position { line: 274, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 274, column: 31, }, end: Position { line: 274, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 274, column: 35, }, end: Position { line: 274, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 274, column: 40, }, end: Position { line: 274, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableLiveProcessCollection", span: Span { start: Position { line: 274, column: 44, }, end: Position { line: 274, column: 71, }, }, }, ), ], default: None, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "makeService", span: Span { start: Position { line: 274, column: 73, }, end: Position { line: 274, column: 84, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 275, column: 9, }, end: Position { line: 275, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Datadog Live Process Agent", span: Span { start: Position { line: 275, column: 24, }, end: Position { line: 275, column: 50, }, }, }, ), ], span: Span { start: Position { line: 275, column: 23, }, end: Position { line: 275, column: 51, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 276, column: 9, }, end: Position { line: 276, column: 13, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 276, column: 16, }, end: Position { line: 276, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 277, column: 9, }, end: Position { line: 277, column: 15, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "export DD_API_KEY=$(head -n 1 ", span: Span { start: Position { line: 278, column: 1, }, end: Position { line: 278, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 278, column: 43, }, end: Position { line: 278, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "apiKeyFile", span: Span { start: Position { line: 278, column: 47, }, end: Position { line: 278, column: 57, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ")\n", span: Span { start: Position { line: 278, column: 1, }, end: Position { line: 279, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 279, column: 13, }, end: Position { line: 279, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "datadog-process-agent", span: Span { start: Position { line: 279, column: 18, }, end: Position { line: 279, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/process-agent --config /etc/datadog-agent/datadog.yaml\n", span: Span { start: Position { line: 278, column: 1, }, end: Position { line: 280, column: 9, }, }, }, ), ], span: Span { start: Position { line: 277, column: 18, }, end: Position { line: 280, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 274, column: 85, }, end: Position { line: 281, column: 8, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "datadog-trace-agent", span: Span { start: Position { line: 283, column: 7, }, end: Position { line: 283, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 283, column: 29, }, end: Position { line: 283, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 283, column: 33, }, end: Position { line: 283, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 283, column: 38, }, end: Position { line: 283, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableTraceAgent", span: Span { start: Position { line: 283, column: 42, }, end: Position { line: 283, column: 58, }, }, }, ), ], default: None, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "makeService", span: Span { start: Position { line: 283, column: 60, }, end: Position { line: 283, column: 71, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 284, column: 9, }, end: Position { line: 284, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Datadog Trace Agent", span: Span { start: Position { line: 284, column: 24, }, end: Position { line: 284, column: 43, }, }, }, ), ], span: Span { start: Position { line: 284, column: 23, }, end: Position { line: 284, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 285, column: 9, }, end: Position { line: 285, column: 13, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 285, column: 16, }, end: Position { line: 285, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 286, column: 9, }, end: Position { line: 286, column: 15, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "export DD_API_KEY=$(head -n 1 ", span: Span { start: Position { line: 287, column: 1, }, end: Position { line: 287, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 287, column: 43, }, end: Position { line: 287, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "apiKeyFile", span: Span { start: Position { line: 287, column: 47, }, end: Position { line: 287, column: 57, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ")\n", span: Span { start: Position { line: 287, column: 1, }, end: Position { line: 288, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "datadogPkg", span: Span { start: Position { line: 288, column: 13, }, end: Position { line: 288, column: 23, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/trace-agent -config /etc/datadog-agent/datadog.yaml\n", span: Span { start: Position { line: 287, column: 1, }, end: Position { line: 289, column: 9, }, }, }, ), ], span: Span { start: Position { line: 286, column: 18, }, end: Position { line: 289, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 283, column: 72, }, end: Position { line: 290, column: 8, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 254, column: 8, }, end: Position { line: 292, column: 6, }, }, }, ), span: Span { start: Position { line: 242, column: 24, }, end: Position { line: 292, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 294, column: 5, }, end: Position { line: 294, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 294, column: 17, }, end: Position { line: 294, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "etcfiles", span: Span { start: Position { line: 294, column: 23, }, end: Position { line: 294, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 229, column: 28, }, end: Position { line: 295, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 50, column: 4, }, end: Position { line: 296, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 296, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 296, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 296, column: 2, }, }, }, )