diff --git a/model/resource/service.yaml b/model/resource/origin.yaml similarity index 54% rename from model/resource/service.yaml rename to model/resource/origin.yaml index e930b62194..10d5241288 100644 --- a/model/resource/service.yaml +++ b/model/resource/origin.yaml @@ -1,23 +1,23 @@ groups: - - id: service - prefix: service + - id: origin + prefix: origin type: resource brief: > - A service instance. + A telemetry source. attributes: - id: name type: string requirement_level: required brief: > - Logical name of the service. + Logical name of the telemetry source. note: > - MUST be the same for all instances of horizontally scaled services. - If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated - with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. - If `process.executable.name` is not available, the value MUST be set to `unknown_service`. + For services, it MUST be the same for all instances of horizontally scaled services. + If the value was not specified, SDKs MUST fallback to `unknown_origin:` concatenated + with [`process.executable.name`](process.md#process), e.g. `unknown_origin:bash`. + If `process.executable.name` is not available, the value MUST be set to `unknown_origin`. examples: ["shoppingcart"] - id: version type: string brief: > - The version string of the service API or implementation. The format is not defined by these conventions. + The version string of the source of telemetry. The format is not defined by these conventions. examples: ["2.0.0", "a01dbef8a"]