Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions receiver/googlecloudmonitoringreceiver/config.schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
$defs:
metric_config:
type: object
properties:
metric_descriptor_filter:
description: Filter for listing metric descriptors. Only support `project` and `metric.type` as filter objects. See https://cloud.google.com/monitoring/api/v3/filters#metric-descriptor-filter for more details.
type: string
metric_name:
type: string
type: object
properties:
metrics_list:
type: array
items:
$ref: metric_config
project_id:
type: string
allOf:
- $ref: go.opentelemetry.io/collector/scraper/scraperhelper.controller_config
9 changes: 9 additions & 0 deletions receiver/googlecloudpubsubpushreceiver/config.schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
description: Config defines configuration for the receiver.
type: object
properties:
encoding:
description: Endpoint identifies the expected encoding of messages received from Pub/Sub.
type: string
x-customType: go.opentelemetry.io/collector/component.ID
allOf:
- $ref: go.opentelemetry.io/collector/config/confighttp.server_config
31 changes: 31 additions & 0 deletions receiver/googlecloudpubsubreceiver/config.schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
type: object
properties:
client_id:
description: The client id that will be used by Pubsub to make load balancing decisions
type: string
compression:
description: Lock down the compression of the payload, leave empty for attribute based detection
type: string
encoding:
description: Lock down the encoding of the payload, leave empty for attribute based detection
type: string
endpoint:
description: Override of the Pubsub Endpoint, leave empty for the default endpoint
type: string
ignore_encoding_error:
description: Ignore errors when the configured encoder fails to decoding a PubSub messages
type: boolean
insecure:
description: Only has effect if Endpoint is not ""
type: boolean
project:
description: Google Cloud Project ID where the Pubsub client will connect to
type: string
subscription:
description: The fully qualified resource name of the Pubsub subscription
type: string
user_agent:
description: User agent that will be used by the Pubsub client to connect to the service
type: string
allOf:
- $ref: go.opentelemetry.io/collector/exporter/exporterhelper.timeout_config
39 changes: 39 additions & 0 deletions receiver/googlecloudspannerreceiver/config.schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
$defs:
instance:
type: object
properties:
databases:
type: array
items:
type: string
instance_id:
type: string
project:
type: object
properties:
instances:
type: array
items:
$ref: instance
project_id:
type: string
service_account_key:
type: string
type: object
properties:
backfill_enabled:
type: boolean
cardinality_total_limit:
type: integer
hide_topn_lockstats_rowrangestartkey:
type: boolean
projects:
type: array
items:
$ref: project
top_metrics_query_max_rows:
type: integer
truncate_text:
type: boolean
allOf:
- $ref: go.opentelemetry.io/collector/scraper/scraperhelper.controller_config