{"version":3,"sources":["../../../src/generated/promql_operator_docs/add.ts","../../../src/generated/promql_operator_docs/and.ts","../../../src/generated/promql_operator_docs/div.ts","../../../src/generated/promql_operator_docs/eq.ts","../../../src/generated/promql_operator_docs/gt.ts","../../../src/generated/promql_operator_docs/gte.ts","../../../src/generated/promql_operator_docs/label_eq.ts","../../../src/generated/promql_operator_docs/label_neq.ts","../../../src/generated/promql_operator_docs/label_nre.ts","../../../src/generated/promql_operator_docs/label_re.ts","../../../src/generated/promql_operator_docs/lt.ts","../../../src/generated/promql_operator_docs/lte.ts","../../../src/generated/promql_operator_docs/mod.ts","../../../src/generated/promql_operator_docs/mul.ts","../../../src/generated/promql_operator_docs/neg.ts","../../../src/generated/promql_operator_docs/neq.ts","../../../src/generated/promql_operator_docs/or.ts","../../../src/generated/promql_operator_docs/pow.ts","../../../src/generated/promql_operator_docs/sub.ts","../../../src/generated/promql_operator_docs/unless.ts","../../../src/generated/promql_operator_docs/index.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/add.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Adds the two operands element-wise. For vector–vector operations, the metric name is dropped.',\n  examples: [\n    'requests_total + requests_errors',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/and.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns elements from the left vector that have matching label sets in the right vector. Values and metric name come from the left-hand side.',\n  examples: [\n    'vector1 and vector2',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/div.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Divides the left operand by the right operand element-wise. For vector–vector operations, the metric name is dropped.',\n  examples: [\n    'requests_errors / requests_total',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/eq.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Compares elements for equality. By default, acts as a filter. With the bool modifier, returns 0 or 1.',\n  examples: [\n    'requests_total == 256',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/gt.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Compares elements where the left operand is greater than the right. By default, acts as a filter. With the bool modifier, returns 0 or 1.',\n  examples: [\n    'requests_total > 256',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/gte.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Compares elements where the left operand is greater than or equal to the right. By default, acts as a filter. With the bool modifier, returns 0 or 1.',\n  examples: [\n    'requests_total >= 256',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/label_eq.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Matches labels exactly equal to the provided string.',\n  examples: [\n    'requests_total{method=\"GET\"}',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/label_neq.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Matches labels not equal to the provided string.',\n  examples: [\n    'requests_total{method!=\"DELETE\"}',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/label_nre.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Matches labels whose value does not satisfy the provided regular expression.',\n  examples: [\n    'requests_total{method!~\"DELETE|PUT\"}',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/label_re.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Matches labels whose value satisfies the provided regular expression.',\n  examples: [\n    'requests_total{method=~\"GET|POST\"}',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/lt.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Compares elements where the left operand is less than the right. By default, acts as a filter. With the bool modifier, returns 0 or 1.',\n  examples: [\n    'requests_total < 256',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/lte.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Compares elements where the left operand is less than or equal to the right. By default, acts as a filter. With the bool modifier, returns 0 or 1.',\n  examples: [\n    'requests_total <= 256',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/mod.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns the remainder of dividing the left operand by the right operand element-wise. For vector–vector operations, the metric name is dropped.',\n  examples: [\n    'metric % 10',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/mul.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Multiplies the two operands element-wise. For vector–vector operations, the metric name is dropped.',\n  examples: [\n    '100 * rate(requests_total[5m])',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/neg.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Negates the instant vector or scalar by inverting the sign of each sample value.',\n  examples: [\n    '-requests_total',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/neq.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Compares elements for inequality. By default, acts as a filter. With the bool modifier, returns 0 or 1.',\n  examples: [\n    'requests_error != 0',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/or.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns all elements from the left vector plus elements from the right vector that have no matching label sets in the left.',\n  examples: [\n    'vector1 or vector2',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/pow.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Raises the left operand to the power of the right operand element-wise. For vector–vector operations, the metric name is dropped.',\n  examples: [\n    'metric ^ 2',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/sub.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Subtracts the right operand from the left operand element-wise. For vector–vector operations, the metric name is dropped.',\n  examples: [\n    'requests_total - requests_errors',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED BY\n// `yarn workspace @elastic/esql-definitions generate` FROM\n// `elasticsearch/promql/x-pack-esql/definition/operators/unless.json`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nconst docs: DefinitionDocs = {\n  description: 'Returns elements from the left vector that have no matching label sets in the right vector.',\n  examples: [\n    'vector1 unless vector2',\n  ],\n};\n\nexport default docs;\n","/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\n// DO NOT MODIFY THIS FILE BY HAND. IT IS GENERATED FROM `elasticsearch/` BY\n// `yarn workspace @elastic/esql-definitions generate`.\n\nimport type { DefinitionDocs } from '../../definition_types';\n\nimport addDocs from './add';\nimport andDocs from './and';\nimport divDocs from './div';\nimport eqDocs from './eq';\nimport gtDocs from './gt';\nimport gteDocs from './gte';\nimport labelEqDocs from './label_eq';\nimport labelNeqDocs from './label_neq';\nimport labelNreDocs from './label_nre';\nimport labelReDocs from './label_re';\nimport ltDocs from './lt';\nimport lteDocs from './lte';\nimport modDocs from './mod';\nimport mulDocs from './mul';\nimport negDocs from './neg';\nimport neqDocs from './neq';\nimport orDocs from './or';\nimport powDocs from './pow';\nimport subDocs from './sub';\nimport unlessDocs from './unless';\n\nexport const promqlOperatorDocs: Record<string, DefinitionDocs> = {\n  add: addDocs,\n  and: andDocs,\n  div: divDocs,\n  eq: eqDocs,\n  gt: gtDocs,\n  gte: gteDocs,\n  label_eq: labelEqDocs,\n  label_neq: labelNeqDocs,\n  label_nre: labelNreDocs,\n  label_re: labelReDocs,\n  lt: ltDocs,\n  lte: lteDocs,\n  mod: modDocs,\n  mul: mulDocs,\n  neg: negDocs,\n  neq: neqDocs,\n  or: orDocs,\n  pow: powDocs,\n  sub: subDocs,\n  unless: unlessDocs,\n};\n"],"mappings":";AAaA,IAAM,OAAuB;AAAA,EAC3B,aAAa;AAAA,EACb,UAAU;AAAA,IACR;AAAA,EACF;AACF;AAEA,IAAO,cAAQ;;;ACPf,IAAMA,QAAuB;AAAA,EAC3B,aAAa;AAAA,EACb,UAAU;AAAA,IACR;AAAA,EACF;AACF;AAEA,IAAO,cAAQA;;;ACPf,IAAMC,QAAuB;AAAA,EAC3B,aAAa;AAAA,EACb,UAAU;AAAA,IACR;AAAA,EACF;AACF;AAEA,IAAO,cAAQA;;;ACPf,IAAMC,QAAuB;AAAA,EAC3B,aAAa;AAAA,EACb,UAAU;AAAA,IACR;AAAA,EAC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ACb,UAAU;AAAA,IACR;AAAA,EACF;AACF;AAEA,IAAO,cAAQA;;;ACPf,IAAMC,SAAuB;AAAA,EAC3B,aAAa;AAAA,EACb,UAAU;AAAA,IACR;AAAA,EACF;AACF;AAEA,IAAO,aAAQA;;;ACPf,IAAMC,SAAuB;AAAA,EAC3B,aAAa;AAAA,EACb,UAAU;AAAA,IACR;AAAA,EACF;AACF;AAEA,IAAO,cAAQA;;;ACPf,IAAMC,SAAuB;AAAA,EAC3B,aAAa;AAAA,EACb,UAAU;AAAA,IACR;AAAA,EACF;AACF;AAEA,IAAO,cAAQA;;;ACPf,IAAMC,SAAuB;AAAA,EAC3B,aAAa;AAAA,EACb,UAAU;AAAA,IACR;AAAA,EACF;AACF;AAEA,IAAO,iBAAQA;;;ACaR,IAAM,qBAAqD;AAAA,EAChE,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,KAAK;AAAA,EACL,UAAU;AAAA,EACV,WAAW;AAAA,EACX,WAAW;AAAA,EACX,UAAU;AAAA,EACV,IAAI;AAAA,EACJ,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,IAAI;AAAA,EACJ,KAAK;AAAA,EACL,KAAK;AAAA,EACL,QAAQ;AACV;","names":["docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs"]}