Skip to content

Commit

Permalink
[O11y][CockroachDB] Migrate visualizations to lens in Kibana 8.4.0 (#…
Browse files Browse the repository at this point in the history
…5688)

* Migrate cockroachDB visualizations to lens 8.4.0

* Update changelog
  • Loading branch information
rajvi-patel-22 authored Mar 30, 2023
1 parent 2bcab80 commit f7b4c80
Show file tree
Hide file tree
Showing 6 changed files with 1,749 additions and 784 deletions.
7 changes: 6 additions & 1 deletion packages/cockroachdb/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- version: "1.3.0"
changes:
- description: Migrate visualizations to lens.
type: enhancement
link: https://github.com/elastic/integrations/pull/5688
- version: "1.2.0"
changes:
- description: Add dimension fields to support TSDB enablement.
Expand All @@ -7,7 +12,7 @@
changes:
- description: Added categories and/or subcategories.
type: enhancement
link: https://github.com/elastic/integrations/pull/5123
link: https://github.com/elastic/integrations/pull/5123
- version: "1.1.0"
changes:
- description: Update ECS version to 8.5.1
Expand Down
1 change: 0 additions & 1 deletion packages/cockroachdb/data_stream/status/fields/agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,3 @@
type: keyword
ignore_above: 1024
dimension: true

19 changes: 10 additions & 9 deletions packages/cockroachdb/data_stream/status/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

- name: cockroachdb.status.*.value
type: object
object_type: double
Expand Down Expand Up @@ -26,7 +25,6 @@
object_type_mapping_type: "*"
description: >-
Prometheus histogram metric
- name: cockroachdb.status
type: group
fields:
Expand All @@ -35,58 +33,61 @@
# Reason to add as a dimension field: metrics can be collected from more than one endpoint.
dimension: true
description: |
The <host>:<port> part of the cockroachdb URL/endpoint that is scraped.
The <host>:<port> part of the cockroachdb URL/endpoint that is scraped.
- name: labels.job
type: keyword
# Reason to add as a dimension field: <job_name>, manually configured labels which must be unique across all scrape configurations.
dimension: true
description: >-
The configured job name that the cockroachdb belongs to.
description: "The configured job name that the cockroachdb belongs to. "
- name: labels.store
type: keyword
# Reason to add as a dimension field: The store-level attributes can be used in replication zones to influence the location of replicas.
dimension: true
description: >
Each CockroachDB node contains at least one store, which is where the cockroach process reads and writes its data on disk.
description: "Each CockroachDB node contains at least one store, which is where the cockroach process reads and writes its data on disk. \n"
- name: labels.advertise_addr
type: keyword
# Reason to add as a dimension field: determines which address to tell other nodes to use.
dimension: true
description: >
The IP address/hostname and port to tell other nodes to use.
- name: labels.http_addr
type: keyword
# Reason to add as a dimension field: metrics can be collected from more than one endpoint, hence dimension
dimension: true
description: >
The IP address/hostname and port to listen on for DB Console HTTP requests.
- name: labels.sql_addr
type: keyword
# Reason to add as a dimension field: metrics can be collected from more than one endpoint, hence dimension
dimension: true
description: >
The IP address/hostname and port to listen on for SQL connections from clients.
- name: labels.go_version
type: keyword
# Reason to add as a dimension field: there can be different versions in which source code is written
dimension: true
description: >
The version of Go in which the source code is written.
- name: labels.tag
type: keyword
# Reason to add as a dimension field: Build tag of the CockroachDB version installed on the node.
dimension: true
description: >
The CockroachDB version.
- name: up.value
type: keyword
description: >
1 if the instance is healthy, i.e. reachable, or 0 if the scrape failed.
- name: up.value_description
type: keyword
# Reason to add as a dimension field: The up time series is useful for instance availability monitoring.
dimension: true
description: >
up if the instance is healthy, i.e. reachable, or down if the scrape failed.
up if the instance is healthy, i.e. reachable, or down if the scrape failed.
Binary file modified packages/cockroachdb/img/cockroachdb-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f7b4c80

Please sign in to comment.