Understand builtin:oneagent.features

Hi,

I’m looking at monaco deploy of EasyTrade: easytrade/monaco/config/bizevent-capturing/config.yaml at main · Dynatrace/easytrade
It deploys without problems, but what I don’t understand is:

- id: http-dotnet<br>config:<br>template: &template oneagent-feature.json<br>skip: false<br>parameters:<br>featureKey: SENSOR_DOTNET_BIZEVENTS_HTTP_INCOMING<br>type: &type<br>settings:<br>schema: builtin:oneagent.features<br>scope: environment
  1. What it means “&type” and what it means “*type” (the other configs are similar, but instead of “&type” there is “*type”).
  2. How we choose the name of the feature key?
  3. As far as I understand these keys are used to generate business events from requests - how can I filter the bizevents which are generated by for example the key given above: “SENSOR_DOTNET_BIZEVENTS_HTTP_INCOMING”

This is the json of the template:

This is the json template:<br>{<br>"enabled": true,<br>"instrumentation": true,<br>"key": "{{ .featureKey }}"<br>}

Thanks!

Regards, Deni

  1. The & and * are used for YAML anchors, so the configuration is simpler and more easy to read.
  2. Name of the feature key is actually the feature key that gets configured in API. You can see those values in Settings > Preferences > OneAgent features (available in the API section under 3dot menu).
  3. These features only enable some OneAgent feature flags. Capturing definition is in this monaco project is here easytrade/monaco/bizevents/config.yaml at main · Dynatrace/easytrade · GitHub .