Skip to content

STAC-24297: add worked OpenTelemetry webshop example to the generic s…#6

Open
aacevedoosorio wants to merge 2 commits into
mainfrom
stac-24297
Open

STAC-24297: add worked OpenTelemetry webshop example to the generic s…#6
aacevedoosorio wants to merge 2 commits into
mainfrom
stac-24297

Conversation

@aacevedoosorio

Copy link
Copy Markdown
Contributor

…caffold template

highlight:
title: "Cart instance"
# Most fields (Namespace / Instance ID / Version) are inherited from
# microservice.sty; `fields` is required, so we keep just Labels here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this an annoyance we should fix?

@aacevedoosorio aacevedoosorio Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure of the semantics. How are you supposed to define to have a highlights but only with the inherited fields? Do you need to define a highlight section or not?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but of course if you want to extend it just with related resources for example you do not want to define fields at all

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just made the experiment and the highlight fields would compose OK without the fields. I guess I'll make it optional

## Development Workflow

### 1. Modify Your StackPack
```bash

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A useful command in the dev workflow is the test-deploy sub-command (it's still feature flagged, though).

tagKey: "cluster-name"
moreTab: "<< .DisplayName >>"
topology:
layer:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

layer and domain are no longer on the model.

presentation:
icon: !icon microservice.svg
topology:
layer:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

layer and domain are no longer on the model.

projection:
_type: TagProjection
provisioning:
externalComponentSelector: "external.mapping.identifier == 'urn:stackpack:<< .Name >>:otel-component-mapping:database'"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

filter:
_type: "TagFilter"
tagKey: "service.namespace"
moreTab: "<< .DisplayName >>"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants