cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Understand builtin:oneagent.features

deni
Advisor

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
config:
template: &template oneagent-feature.json
skip: false
parameters:
featureKey: SENSOR_DOTNET_BIZEVENTS_HTTP_INCOMING
type: &type
settings:
schema: builtin:oneagent.features
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:
{
"enabled": true,
"instrumentation": true,
"key": "{{ .featureKey }}"
}

 

Thanks!

Regards, Deni

Dynatrace Integration Engineer at CodeAttest
1 REPLY 1

Julius_Loman
DynaMight Legend
DynaMight Legend
  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 https://github.com/Dynatrace/easytrade/blob/main/monaco/bizevents/config.yaml . 
Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts