Skip to content

Commit

Permalink
fix cue formatting + bad field ref
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz committed May 30, 2023
1 parent 40ce049 commit 2ed5c92
Show file tree
Hide file tree
Showing 37 changed files with 93 additions and 95 deletions.
4 changes: 2 additions & 2 deletions website/cue/reference/components/sinks/azure_blob.cue
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ components: sinks: azure_blob: {
}

telemetry: metrics: {
http_error_response_total: components.sources.internal_metrics.output.metrics.http_error_response_total
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
http_error_response_total: components.sources.internal_metrics.output.metrics.http_error_response_total
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
}
}
2 changes: 1 addition & 1 deletion website/cue/reference/components/sinks/http.cue
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ components: sinks: http: {
}

telemetry: metrics: {
http_bad_requests_total: components.sources.internal_metrics.output.metrics.http_bad_requests_total
http_bad_requests_total: components.sources.internal_metrics.output.metrics.http_bad_requests_total
}
}
1 change: 0 additions & 1 deletion website/cue/reference/components/sinks/humio_logs.cue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ components: sinks: humio_logs: {
features: sinks._humio.features
support: sinks._humio.support
configuration: base.components.sinks.humio_logs.configuration
telemetry: sinks._humio.telemetry

input: {
logs: true
Expand Down
1 change: 0 additions & 1 deletion website/cue/reference/components/sinks/humio_metrics.cue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ components: sinks: humio_metrics: {
features: sinks._humio.features
support: sinks._humio.support
configuration: base.components.sinks.humio_metrics.configuration
telemetry: sinks._humio.telemetry

input: {
logs: false
Expand Down
2 changes: 1 addition & 1 deletion website/cue/reference/components/sinks/loki.cue
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,6 @@ components: sinks: loki: {
}

telemetry: metrics: {
streams_total: components.sources.internal_metrics.output.metrics.streams_total
streams_total: components.sources.internal_metrics.output.metrics.streams_total
}
}
2 changes: 1 addition & 1 deletion website/cue/reference/components/sinks/nats.cue
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ components: sinks: nats: {
how_it_works: components._nats.how_it_works

telemetry: metrics: {
send_errors_total: components.sources.internal_metrics.output.metrics.send_errors_total
send_errors_total: components.sources.internal_metrics.output.metrics.send_errors_total
}
}
2 changes: 1 addition & 1 deletion website/cue/reference/components/sinks/pulsar.cue
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ components: sinks: pulsar: {
}

telemetry: metrics: {
encode_errors_total: components.sources.internal_metrics.output.metrics.encode_errors_total
encode_errors_total: components.sources.internal_metrics.output.metrics.encode_errors_total
}
}
2 changes: 1 addition & 1 deletion website/cue/reference/components/sinks/redis.cue
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ components: sinks: redis: {
}

telemetry: metrics: {
send_errors_total: components.sources.internal_metrics.output.metrics.send_errors_total
send_errors_total: components.sources.internal_metrics.output.metrics.send_errors_total
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ components: sinks: sematext_metrics: {
}

telemetry: metrics: {
encode_errors_total: components.sources.internal_metrics.output.metrics.encode_errors_total
encode_errors_total: components.sources.internal_metrics.output.metrics.encode_errors_total
}
}
4 changes: 2 additions & 2 deletions website/cue/reference/components/sinks/splunk_hec_logs.cue
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ components: sinks: splunk_hec_logs: {
}

telemetry: metrics: {
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
requests_received_total: components.sources.internal_metrics.output.metrics.requests_received_total
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
requests_received_total: components.sources.internal_metrics.output.metrics.requests_received_total
}

how_it_works: sinks._splunk_hec.how_it_works
Expand Down
2 changes: 1 addition & 1 deletion website/cue/reference/components/sinks/vector.cue
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ components: sinks: vector: {
how_it_works: components.sources.vector.how_it_works

telemetry: metrics: {
protobuf_decode_errors_total: components.sources.internal_metrics.output.metrics.protobuf_decode_errors_total
protobuf_decode_errors_total: components.sources.internal_metrics.output.metrics.protobuf_decode_errors_total
}
}
10 changes: 5 additions & 5 deletions website/cue/reference/components/sinks/websocket.cue
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ components: sinks: websocket: {
}

telemetry: metrics: {
open_connections: components.sources.internal_metrics.output.metrics.open_connections
connection_established_total: components.sources.internal_metrics.output.metrics.connection_established_total
connection_failed_total: components.sources.internal_metrics.output.metrics.connection_failed_total
connection_shutdown_total: components.sources.internal_metrics.output.metrics.connection_shutdown_total
connection_errors_total: components.sources.internal_metrics.output.metrics.connection_errors_total
open_connections: components.sources.internal_metrics.output.metrics.open_connections
connection_established_total: components.sources.internal_metrics.output.metrics.connection_established_total
connection_failed_total: components.sources.internal_metrics.output.metrics.connection_failed_total
connection_shutdown_total: components.sources.internal_metrics.output.metrics.connection_shutdown_total
connection_errors_total: components.sources.internal_metrics.output.metrics.connection_errors_total
}
}
2 changes: 1 addition & 1 deletion website/cue/reference/components/sources.cue
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ components: sources: [Name=string]: {
telemetry: metrics: {
component_discarded_events_total: components.sources.internal_metrics.output.metrics.component_discarded_events_total
component_errors_total: components.sources.internal_metrics.output.metrics.component_errors_total
component_received_bytes_count: components.sources.internal_metrics.output.metrics.component_received_bytes_count
component_received_bytes_total: components.sources.internal_metrics.output.metrics.component_received_bytes_total
component_received_events_count: components.sources.internal_metrics.output.metrics.component_received_events_count
component_received_events_total: components.sources.internal_metrics.output.metrics.component_received_events_total
component_received_event_bytes_total: components.sources.internal_metrics.output.metrics.component_received_event_bytes_total
Expand Down
10 changes: 5 additions & 5 deletions website/cue/reference/components/sources/apache_metrics.cue
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ components: sources: apache_metrics: {
how_it_works: {}

telemetry: metrics: {
http_error_response_total: components.sources.internal_metrics.output.metrics.http_error_response_total
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
requests_completed_total: components.sources.internal_metrics.output.metrics.requests_completed_total
request_duration_seconds: components.sources.internal_metrics.output.metrics.request_duration_seconds
http_error_response_total: components.sources.internal_metrics.output.metrics.http_error_response_total
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
requests_completed_total: components.sources.internal_metrics.output.metrics.requests_completed_total
request_duration_seconds: components.sources.internal_metrics.output.metrics.request_duration_seconds
}
}
10 changes: 5 additions & 5 deletions website/cue/reference/components/sources/aws_ecs_metrics.cue
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ components: sources: aws_ecs_metrics: {
}

telemetry: metrics: {
http_error_response_total: components.sources.internal_metrics.output.metrics.http_error_response_total
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
requests_completed_total: components.sources.internal_metrics.output.metrics.requests_completed_total
request_duration_seconds: components.sources.internal_metrics.output.metrics.request_duration_seconds
http_error_response_total: components.sources.internal_metrics.output.metrics.http_error_response_total
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
requests_completed_total: components.sources.internal_metrics.output.metrics.requests_completed_total
request_duration_seconds: components.sources.internal_metrics.output.metrics.request_duration_seconds
}
}
2 changes: 1 addition & 1 deletion website/cue/reference/components/sources/aws_sqs.cue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ components: sources: aws_sqs: components._aws & {
}

telemetry: metrics: {
sqs_message_delete_failed_total: components.sources.internal_metrics.output.metrics.sqs_message_delete_failed_total
sqs_message_delete_failed_total: components.sources.internal_metrics.output.metrics.sqs_message_delete_failed_total
}

how_it_works: {
Expand Down
2 changes: 1 addition & 1 deletion website/cue/reference/components/sources/dnstap.cue
Original file line number Diff line number Diff line change
Expand Up @@ -1171,6 +1171,6 @@ components: sources: dnstap: {
}

telemetry: metrics: {
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ components: sources: eventstoredb_metrics: {
}
}
telemetry: metrics: {
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
}
}
4 changes: 2 additions & 2 deletions website/cue/reference/components/sources/exec.cue
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ components: sources: exec: {
}

telemetry: metrics: {
command_executed_total: components.sources.internal_metrics.output.metrics.command_executed_total
command_execution_duration_seconds: components.sources.internal_metrics.output.metrics.command_execution_duration_seconds
command_executed_total: components.sources.internal_metrics.output.metrics.command_executed_total
command_execution_duration_seconds: components.sources.internal_metrics.output.metrics.command_execution_duration_seconds
}
}
22 changes: 11 additions & 11 deletions website/cue/reference/components/sources/file.cue
Original file line number Diff line number Diff line change
Expand Up @@ -423,16 +423,16 @@ components: sources: file: {
}

telemetry: metrics: {
checkpoint_write_errors_total: components.sources.internal_metrics.output.metrics.checkpoint_write_errors_total
checkpoints_total: components.sources.internal_metrics.output.metrics.checkpoints_total
checksum_errors_total: components.sources.internal_metrics.output.metrics.checksum_errors_total
file_delete_errors_total: components.sources.internal_metrics.output.metrics.file_delete_errors_total
file_watch_errors_total: components.sources.internal_metrics.output.metrics.file_watch_errors_total
files_added_total: components.sources.internal_metrics.output.metrics.files_added_total
files_deleted_total: components.sources.internal_metrics.output.metrics.files_deleted_total
files_resumed_total: components.sources.internal_metrics.output.metrics.files_resumed_total
files_unwatched_total: components.sources.internal_metrics.output.metrics.files_unwatched_total
fingerprint_read_errors_total: components.sources.internal_metrics.output.metrics.fingerprint_read_errors_total
glob_errors_total: components.sources.internal_metrics.output.metrics.glob_errors_total
checkpoint_write_errors_total: components.sources.internal_metrics.output.metrics.checkpoint_write_errors_total
checkpoints_total: components.sources.internal_metrics.output.metrics.checkpoints_total
checksum_errors_total: components.sources.internal_metrics.output.metrics.checksum_errors_total
file_delete_errors_total: components.sources.internal_metrics.output.metrics.file_delete_errors_total
file_watch_errors_total: components.sources.internal_metrics.output.metrics.file_watch_errors_total
files_added_total: components.sources.internal_metrics.output.metrics.files_added_total
files_deleted_total: components.sources.internal_metrics.output.metrics.files_deleted_total
files_resumed_total: components.sources.internal_metrics.output.metrics.files_resumed_total
files_unwatched_total: components.sources.internal_metrics.output.metrics.files_unwatched_total
fingerprint_read_errors_total: components.sources.internal_metrics.output.metrics.fingerprint_read_errors_total
glob_errors_total: components.sources.internal_metrics.output.metrics.glob_errors_total
}
}
2 changes: 1 addition & 1 deletion website/cue/reference/components/sources/fluent.cue
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,6 @@ components: sources: fluent: {
}

telemetry: metrics: {
decode_errors_total: components.sources.internal_metrics.output.metrics.decode_errors_total
decode_errors_total: components.sources.internal_metrics.output.metrics.decode_errors_total
}
}
4 changes: 2 additions & 2 deletions website/cue/reference/components/sources/heroku_logs.cue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ components: sources: heroku_logs: {
}

telemetry: metrics: {
request_read_errors_total: components.sources.internal_metrics.output.metrics.request_read_errors_total
requests_received_total: components.sources.internal_metrics.output.metrics.requests_received_total
request_read_errors_total: components.sources.internal_metrics.output.metrics.request_read_errors_total
requests_received_total: components.sources.internal_metrics.output.metrics.requests_received_total
}
}
10 changes: 5 additions & 5 deletions website/cue/reference/components/sources/http_client.cue
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ components: sources: http_client: {
}

telemetry: metrics: {
http_error_response_total: components.sources.internal_metrics.output.metrics.http_error_response_total
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
requests_completed_total: components.sources.internal_metrics.output.metrics.requests_completed_total
request_duration_seconds: components.sources.internal_metrics.output.metrics.request_duration_seconds
http_error_response_total: components.sources.internal_metrics.output.metrics.http_error_response_total
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
requests_completed_total: components.sources.internal_metrics.output.metrics.requests_completed_total
request_duration_seconds: components.sources.internal_metrics.output.metrics.request_duration_seconds
}
}
4 changes: 2 additions & 2 deletions website/cue/reference/components/sources/http_server.cue
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ components: sources: http_server: {
]

telemetry: metrics: {
http_bad_requests_total: components.sources.internal_metrics.output.metrics.http_bad_requests_total
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
http_bad_requests_total: components.sources.internal_metrics.output.metrics.http_bad_requests_total
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
}

how_it_works: {
Expand Down
4 changes: 2 additions & 2 deletions website/cue/reference/components/sources/journald.cue
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ components: sources: journald: {
}

telemetry: metrics: {
invalid_record_total: components.sources.internal_metrics.output.metrics.invalid_record_total
invalid_record_bytes_total: components.sources.internal_metrics.output.metrics.invalid_record_bytes_total
invalid_record_total: components.sources.internal_metrics.output.metrics.invalid_record_total
invalid_record_bytes_total: components.sources.internal_metrics.output.metrics.invalid_record_bytes_total
}
}
8 changes: 4 additions & 4 deletions website/cue/reference/components/sources/mongodb_metrics.cue
Original file line number Diff line number Diff line change
Expand Up @@ -722,9 +722,9 @@ components: sources: mongodb_metrics: {
}

telemetry: metrics: {
collect_completed_total: components.sources.internal_metrics.output.metrics.collect_completed_total
collect_duration_seconds: components.sources.internal_metrics.output.metrics.collect_duration_seconds
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
request_errors_total: components.sources.internal_metrics.output.metrics.request_errors_total
collect_completed_total: components.sources.internal_metrics.output.metrics.collect_completed_total
collect_duration_seconds: components.sources.internal_metrics.output.metrics.collect_duration_seconds
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
request_errors_total: components.sources.internal_metrics.output.metrics.request_errors_total
}
}
8 changes: 4 additions & 4 deletions website/cue/reference/components/sources/nginx_metrics.cue
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ components: sources: nginx_metrics: {
}

telemetry: metrics: {
collect_completed_total: components.sources.internal_metrics.output.metrics.collect_completed_total
collect_duration_seconds: components.sources.internal_metrics.output.metrics.collect_duration_seconds
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
collect_completed_total: components.sources.internal_metrics.output.metrics.collect_completed_total
collect_duration_seconds: components.sources.internal_metrics.output.metrics.collect_duration_seconds
http_request_errors_total: components.sources.internal_metrics.output.metrics.http_request_errors_total
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ components: sources: postgresql_metrics: {
}

telemetry: metrics: {
collect_completed_total: components.sources.internal_metrics.output.metrics.collect_completed_total
collect_duration_seconds: components.sources.internal_metrics.output.metrics.collect_duration_seconds
request_errors_total: components.sources.internal_metrics.output.metrics.request_errors_total
collect_completed_total: components.sources.internal_metrics.output.metrics.collect_completed_total
collect_duration_seconds: components.sources.internal_metrics.output.metrics.collect_duration_seconds
request_errors_total: components.sources.internal_metrics.output.metrics.request_errors_total
}

output: metrics: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ components: sources: prometheus_remote_write: {
}

telemetry: metrics: {
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
requests_completed_total: components.sources.internal_metrics.output.metrics.requests_completed_total
requests_received_total: components.sources.internal_metrics.output.metrics.requests_received_total
request_duration_seconds: components.sources.internal_metrics.output.metrics.request_duration_seconds
parse_errors_total: components.sources.internal_metrics.output.metrics.parse_errors_total
requests_completed_total: components.sources.internal_metrics.output.metrics.requests_completed_total
requests_received_total: components.sources.internal_metrics.output.metrics.requests_received_total
request_duration_seconds: components.sources.internal_metrics.output.metrics.request_duration_seconds
}
}
Loading

0 comments on commit 2ed5c92

Please sign in to comment.