Skip to content

Commit

Permalink
Remove source.type from table template
Browse files Browse the repository at this point in the history
Fix markdown template after removal of `source.type`.

Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
  • Loading branch information
KarstenSchnitter committed Sep 25, 2024
1 parent 4cb1d4e commit 1e339c5
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions docs/resource/cloudfoundry.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ as reported by `cf apps`.

## Process


<!-- semconv cloudfoundry.process -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
Expand Down Expand Up @@ -172,7 +171,6 @@ tasks or side-cars with different process types.

## Cloud Foundry System Component


<!-- semconv cloudfoundry.system -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
Expand Down Expand Up @@ -218,28 +216,4 @@ should be used. The `system.instance.id` should be set to `spec.id`.
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

## Source Type

**type:**`cloudfoundry.source.type`

**Description:** The CloudFoundry source type.

<!-- semconv cloudfoundry(tag=source.type) -->
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
|---|---|---|---|---|---|
| [`cloudfoundry.source.type`](../attributes-registry/cloudfoundry.md) | string | The type of the event source. [1] | `APP/PROC/WEB/0`; `APP/TASK/jobscheduler-task-70013817-ab92-4f75-82d4-de8ae4dd64b4`; `RTR`; `STG` | `Conditionally Required` if the the event is a log message | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

**[1]:** CloudFoundry generates log messages with different source types for an
applications. This indicates, whether the log was created from the
actual application, a background task, the central load balancer, or
the CloudFoundry runtime, e.g. during a deployment.

The `source_type` is contained as a tag of the [Loggegator v2 envelope](https://github.com/cloudfoundry/loggregator-api#v2-envelope).
It is also available in the syslog drain structured data as documented
in the [CloudFoundry Dev Guide](https://docs.cloudfoundry.org/devguide/deploy-apps/streaming-logs.html).
Application developers can access the value of the `source_type` in
the log stream generated by `cf logs <app-name>`, usually in square
brackets.
<!-- endsemconv -->

[DocumentStatus]: [DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md

0 comments on commit 1e339c5

Please sign in to comment.