Skip to content

Commit

Permalink
[couchbase] Update Integration Package with SSL Configurations (#4526)
Browse files Browse the repository at this point in the history
* Update SSL configuration

* Update changelog entry

* Change to bugfix from enhancement
  • Loading branch information
kush-elastic authored Nov 16, 2022
1 parent 0aa29ac commit 4e248fc
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 12 deletions.
5 changes: 5 additions & 0 deletions packages/couchbase/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- version: "0.12.1"
changes:
- description: Update SSL configurations for couchbase integration.
type: bugfix
link: https://github.com/elastic/integrations/pull/4526
- version: "0.12.0"
changes:
- description: Added infrastructure category.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ hosts:
- "{{this}}/pools/default/buckets"
{{/each}}
{{#if ssl_couchbase}}
{{ssl_couchbase}}
ssl:
{{ssl_couchbase}}
{{/if}}
period: {{period}}
json.is_array: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metrics_path: /metrics
metrics_filters:
include: ["sgw_cache*"]
{{#if ssl_sync_gateway}}
{{ssl_sync_gateway}}
ssl:
{{ssl_sync_gateway}}
{{/if}}
tags:
{{#each tags as |tag|}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metrics_path: /metrics
metrics_filters:
include: ["sgw_replication*"]
{{#if ssl_sync_gateway}}
{{ssl_sync_gateway}}
ssl:
{{ssl_sync_gateway}}
{{/if}}
tags:
{{#each tags as |tag|}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ hosts:
- "{{this}}/pools/default"
{{/each}}
{{#if ssl_couchbase}}
{{ssl_couchbase}}
ssl:
{{ssl_couchbase}}
{{/if}}
period: {{period}}
json.is_array: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metrics_path: /metrics
metrics_filters:
include: ["sgw_database*"]
{{#if ssl_sync_gateway}}
{{ssl_sync_gateway}}
ssl:
{{ssl_sync_gateway}}
{{/if}}
tags:
{{#each tags as |tag|}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metrics_path: /metrics
metrics_filters:
include: ["sgw_shared_bucket_import*", "sgw_security*", "sgw_gsi_views*", "sgw_delta_sync*"]
{{#if ssl_sync_gateway}}
{{ssl_sync_gateway}}
ssl:
{{ssl_sync_gateway}}
{{/if}}
tags:
{{#each tags as |tag|}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ tags:
publisher_pipeline.disable_host: true
{{/contains}}
{{#if processors}}
processors:
{{processors}}
{{/if}}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ hosts:
- "{{this}}/pools/default/buckets/@query/stats"
{{/each}}
{{#if ssl_couchbase}}
{{ssl_couchbase}}
ssl:
{{ssl_couchbase}}
{{/if}}
period: {{period}}
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metrics_path: /metrics
metrics_filters:
include: ["sgw_resource_utilization*","go_memstats_last_gc_time_seconds"]
{{#if ssl_sync_gateway}}
{{ssl_sync_gateway}}
ssl:
{{ssl_sync_gateway}}
{{/if}}
tags:
{{#each tags as |tag|}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ hosts:
{{/each}}
{{/each}}
{{#if ssl_couchbase}}
{{ssl_couchbase}}
ssl:
{{ssl_couchbase}}
{{/if}}
period: {{period}}
tags:
Expand Down
6 changes: 3 additions & 3 deletions packages/couchbase/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: couchbase
title: Couchbase
version: 0.12.0
version: 0.12.1
license: basic
description: Collect metrics from Couchbase databases with Elastic Agent.
type: integration
Expand Down Expand Up @@ -47,7 +47,7 @@ vars:
type: yaml
title: SSL Configuration for Couchbase hosts
default: |
# ssl.certificate_authorities:
# certificate_authorities:
# - |
# -----BEGIN CERTIFICATE-----
# MIID+jCCAuKgAwIBAgIGAJJMzlxLMA0GCSqGSIb3DQEBCwUAMHoxCzAJBgNVBAYT
Expand Down Expand Up @@ -90,7 +90,7 @@ vars:
type: yaml
title: SSL Configuration for Sync Gateway prometheus exporter hosts
default: |
# ssl.certificate_authorities:
# certificate_authorities:
# - |
# -----BEGIN CERTIFICATE-----
# MIID+jCCAuKgAwIBAgIGAJJMzlxLMA0GCSqGSIb3DQEBCwUAMHoxCzAJBgNVBAYT
Expand Down

0 comments on commit 4e248fc

Please sign in to comment.