#Nabox uncomment to collect workload/QOS counters

1 messages · Page 1 of 1 (latest)

fickle pulsar
#

Inside Nabox root mode
Under /opt/harvest2-conf/conf/zapiperf
there are custom.yaml, which should not be modified as the document said
And there is default.yml, which I should uncomment the following two lines to get these metrics

Workload: workload.yaml

WorkloadVolume: workload_volume.yaml

But there is also "custom_value_details.disabled", and inside this file, workload and workloadVolume are listed. should I delete these two lines?
After uncomment these lines, I should do "dc restart nabox-harvest2"?

true shale
#

It is better to create a separate file, such as custom_volume_details.yaml, with the following contents in /opt/harvest2-conf/conf/zapiperf:

objects:
  Workload:
    - workload.yaml
  WorkloadVolume:
    - workload_volume.yaml

Then, restart the Harvest with the command dc restart nabox-harvest2. This approach prevents your custom changes from being lost when default.yaml is updated during an upgrade. You can verify if changes are reflected post restart in custom.yaml

@shy jacinth If above looks good.

shy jacinth
#

You can use the checkbox in nabox preferences

#

it'll rename and remove .disabled which will, well, enable that customization 🙂

fickle pulsar
shy jacinth
#

That's correct

fickle pulsar
#

@shy jacinth So creating a custom yaml to enable workload is a better solution, if I don't want the detail to be enabled

shy jacinth
#

Ah I see, then yes

#

you can copy the disabled file to a different name and remove what you don't want

fickle pulsar
shy jacinth
#

true, you shouldn't change any files within harvest config directory, only add your own custom_something

fickle pulsar
#

@shy jacinth Noted!!! Thanks @true shale

fickle pulsar
#

@shy jacinth And do we have any example using prometheus Federation with NAbox? If we want to aggregate multiple datasources to one center datasource.

shy jacinth
#

Unfortunately no 😕

#

From what I read in the past it seems to be relatively easy to configure a forward instance but never tried it

fickle pulsar
#

So what I should modify is the prometheus.yml file in
/usr/local/nabox/files/prometheus?

shy jacinth
#

Ugh... yes, thing is, it'll be overwritten with an update