Skip to content

Commit 2c2489e

Browse files
authored
Merge branch 'main' into issue-262-new-lambda-dataset
2 parents 9674a4b + 57dfeca commit 2c2489e

File tree

9 files changed

+48
-67
lines changed

9 files changed

+48
-67
lines changed

.buildkite/hooks/pre-exit

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,15 @@ source .buildkite/scripts/common.sh
44

55
set -euo pipefail
66

7-
if [[ "$BUILDKITE_PIPELINE_SLUG" =~ ^(integrations|integrations-test-stack)$ ]]; then
8-
# FIXME: update condition depending on the pipeline steps triggered
9-
if [[ "$BUILDKITE_STEP_KEY" =~ ^test-integrations- ]]; then
10-
11-
# Ensure that kind cluster is deleted
12-
delete_kind_cluster
13-
14-
# Ensure elastic stack is stopped
15-
if [ -f "${ELASTIC_PACKAGE_BIN}" ]; then
16-
echo "--- Take down the Elastic stack"
17-
${ELASTIC_PACKAGE_BIN} stack down -v
18-
fi
19-
fi
7+
if [[ "$BUILDKITE_PIPELINE_SLUG" == "integrations-backport" && "$BUILDKITE_STEP_KEY" == "create-backport-branch" ]]; then
8+
cd "${WORKSPACE}"
9+
git config remote.origin.url "https://github.com/elastic/integrations.git"
2010
fi
2111

22-
if [[ "$BUILDKITE_PIPELINE_SLUG" == "integrations-serverless" ]]; then
23-
if [[ "$BUILDKITE_STEP_KEY" == "test-integrations-serverless-project" ]]; then
12+
if [[ "$BUILDKITE_PIPELINE_SLUG" =~ ^(integrations|integrations-test-stack|integrations-serverless)$ ]]; then
13+
# it should match "^test-integration-" steps created in the integrations and integrations-test-stack pipelines (e.g. test-integration-apache or test-integration-aws)
14+
# as well as the step ID "test-integrations-serverless-project" from the "integrations-serverless" pipeline
15+
if [[ "$BUILDKITE_STEP_KEY" =~ ^test-integrations- ]]; then
2416

2517
# Ensure that kind cluster is deleted
2618
delete_kind_cluster
@@ -30,13 +22,13 @@ if [[ "$BUILDKITE_PIPELINE_SLUG" == "integrations-serverless" ]]; then
3022
echo "--- Take down the Elastic stack"
3123
${ELASTIC_PACKAGE_BIN} stack down -v
3224
fi
25+
26+
echo "+++ :bookmark: Documentation to access logs"
27+
inline_link "https://docs.elastic.dev/ingest-dev-docs/elastic-packages/ecosystem-ci-pipelines#private-logs"
3328
fi
3429
fi
3530

31+
echo "--- Cleaning up"
3632
unset_secrets
3733
cleanup
3834

39-
if [[ "$BUILDKITE_PIPELINE_SLUG" == "integrations-backport" && "$BUILDKITE_STEP_KEY" == "create-backport-branch" ]]; then
40-
cd "${WORKSPACE}"
41-
git config remote.origin.url "https://github.com/elastic/integrations.git"
42-
fi

.buildkite/scripts/common.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,3 +1109,19 @@ get_comment_with_pattern() {
11091109

11101110
echo "${comment_id}"
11111111
}
1112+
1113+
## Buildkite output
1114+
# https://buildkite.com/docs/pipelines/configure/links-and-images-in-log-output#links
1115+
inline_link() {
1116+
local url="$1"
1117+
local text="${2:-""}"
1118+
local link=""
1119+
1120+
link=$(printf "url='%s'" "$url")
1121+
1122+
if [[ "${text}" != "" ]]; then
1123+
link=$(printf "%s;content='%s'" "$link" "$text")
1124+
fi
1125+
1126+
printf '\033]1339;%s\a\n' "$link"
1127+
}

.github/workflows/block-paths.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

packages/aws/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
- description: Add AWS lambda logs dataset.
55
type: enhancement
66
link: https://github.com/elastic/integrations/pull/14070
7+
- version: "3.5.1"
8+
changes:
9+
- description: Change Redshift terraform node type because `dc2.large` is deprecated and leads to system tests fails.
10+
type: enhancement
11+
link: https://github.com/elastic/integrations/pull/14169
712
- version: "3.5.0"
813
changes:
914
- description: Add the `external_id` field to data streams collecting data from S3.

packages/aws/data_stream/redshift/_dev/deploy/tf/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ resource "aws_redshift_cluster" "test_cluster" {
1919
database_name = "mydb"
2020
master_username = "exampleuser"
2121
master_password = "Mustbe8characters"
22-
node_type = "dc2.large"
22+
node_type = "ra3.large"
2323
cluster_type = "single-node"
2424
skip_final_snapshot = "true"
2525
}

packages/aws_bedrock/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
- version: "1.2.2"
2+
changes:
3+
- description: Fix the incorrect aggregation used in the Model Usage panel of the Amazon Bedrock Overview dashboard.
4+
type: bugfix
5+
link: https://github.com/elastic/integrations/pull/14123
16
- version: "1.2.1"
27
changes:
38
- description: Fix handling of S3/SQS worker count configuration.

packages/aws_bedrock/kibana/dashboard/aws_bedrock-14fd745a-d3c1-4ebe-bd25-00b465336cde.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2916,9 +2916,8 @@
29162916
"version": 2
29172917
},
29182918
"coreMigrationVersion": "8.8.0",
2919-
"created_at": "2025-02-14T10:00:25.551Z",
2919+
"created_at": "2025-06-03T09:45:24.964Z",
29202920
"id": "aws_bedrock-14fd745a-d3c1-4ebe-bd25-00b465336cde",
2921-
"managed": false,
29222921
"references": [
29232922
{
29242923
"id": "metrics-*",
@@ -3037,6 +3036,5 @@
30373036
}
30383037
],
30393038
"type": "dashboard",
3040-
"typeMigrationVersion": "10.2.0",
3041-
"updated_by": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0"
3039+
"typeMigrationVersion": "10.2.0"
30423040
}

packages/aws_bedrock/kibana/dashboard/aws_bedrock-2a19b571-251b-487b-84b2-abd887efb8a4.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@
451451
"adHocDataViews": {},
452452
"datasourceStates": {
453453
"formBased": {
454+
"currentIndexPatternId": "metrics-*",
454455
"layers": {
455456
"94286ada-c213-4185-8d61-6285ea6d56c0": {
456457
"columnOrder": [
@@ -486,8 +487,8 @@
486487
"d568367b-f431-4305-b905-dfcd9c1db633": {
487488
"dataType": "number",
488489
"isBucketed": false,
489-
"label": "Median of aws_bedrock.runtime.invocations",
490-
"operationType": "median",
490+
"label": "Sum of aws_bedrock.runtime.invocations",
491+
"operationType": "sum",
491492
"params": {
492493
"emptyAsNull": true
493494
},
@@ -497,6 +498,7 @@
497498
},
498499
"ignoreGlobalFilters": false,
499500
"incompleteColumns": {},
501+
"indexPatternId": "metrics-*",
500502
"sampling": 1
501503
}
502504
}
@@ -2752,9 +2754,8 @@
27522754
"version": 2
27532755
},
27542756
"coreMigrationVersion": "8.8.0",
2755-
"created_at": "2025-02-14T07:39:37.082Z",
2757+
"created_at": "2025-06-03T09:57:05.155Z",
27562758
"id": "aws_bedrock-2a19b571-251b-487b-84b2-abd887efb8a4",
2757-
"managed": true,
27582759
"references": [
27592760
{
27602761
"id": "metrics-*",
@@ -2858,5 +2859,6 @@
28582859
}
28592860
],
28602861
"type": "dashboard",
2861-
"typeMigrationVersion": "10.2.0"
2862+
"typeMigrationVersion": "10.2.0",
2863+
"updated_by": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0"
28622864
}

packages/aws_bedrock/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: aws_bedrock
33
title: Amazon Bedrock
44
description: Collect Amazon Bedrock model invocation logs and runtime metrics with Elastic Agent.
55
type: integration
6-
version: "1.2.1"
6+
version: "1.2.2"
77
categories:
88
- aws
99
- cloud

0 commit comments

Comments
 (0)