#Enabling FSA

1 messages · Page 1 of 1 (latest)

waxen flint
#

Going through our deployment and wanted to get FSA metrics enabled but don't really see how to do so.
Edited the harvest.yml file and added in Rest under a default collector but don't have anything being reported and no other docs that show if there is something else that needs to be turned on or how to do so.

vast minnow
waxen flint
#

yea, all of our volumes have FSA enabled

vast minnow
waxen flint
#

logs emailed

vast minnow
#

Thanks. I have not received yet.

#

Received

#

@waxen flint If you run volume_analytics_bytes_used_by_modified_time query in prometheus . Do you see any results?

#

Based on logs, I see 3 of the pollers are exporting metrics for FSA.

waxen flint
#

it does return some results when running a promQL

vast minnow
#

okay That is good. How about query volume_analytics_dir_bytes_used?

waxen flint
#

it does return data as well

vast minnow
#

Okay good. Let's go to FSA dashboard now and select all clusters (attached) from dropdown and see if Dashboard shows any data

waxen flint
#

select all DC, all cluster, all SVM but volume only has the option of none

vast minnow
#

okay. We should be getting volumes as they are part of metric volume_analytics_dir_bytes_used. Can you check if volume label is available in metric volume_analytics_dir_bytes_used ?

#

We use below query for populating Volume dropdown in FSA dashboard

waxen flint
#

not sure what page that is you're on, i'm just on the explore page running a query, don't know if that matters, but it does list volume names

vast minnow
#

I shared Grafana variable page screenshot. If volume is present then it should be loaded in Dashboard.

#

What is the Harvest version?

waxen flint
vast minnow
#

Can you share screenshot of your FSA Grafana dashboard -> settings -> Variables

waxen flint
#

not sure how to get to that page, i dont see anything like that with variables

#

nm, i see it

vast minnow
#

This looks correct. If you click on Volume variable and change query to label_values(volume_analytics_dir_bytes_used{datacenter=~"$Datacenter",cluster=~"$Cluster"}, volume) Does it populate Volume dropdown?

waxen flint
#

Error
invalid parameter "query": 1:1: parse error: unknown function with name "label_values"

vast minnow
#

Can you share screenshot of your changes

waxen flint
vast minnow
#

Let me check in 9.5 grafana. My screenshots have been from 8.0

#

let's try this

#

Regex: .*volume=\"(.*?)\".*

#

Query: volume_analytics_dir_bytes_used{datacenter=~"$Datacenter",cluster=~"$Cluster"}

waxen flint
#

still not showing anything on the dashboard and the query doesnt give an error it just doesn't come back with anything

#

the 'preview of values' on my screen just says "none" yours has several things

vast minnow
#

Let's try changing query to just volume_analytics_dir_bytes_used

waxen flint
#

that is showing several things listed at the bottom now

vast minnow
#

That is great. It means one of filter either datacenter or cluster has issues.

#

Can you make sure when you make these changes, in dashboard dropdowns datacenter, cluster, svm are at All

waxen flint
#

they are right now

vast minnow
#

let's change query to volume_analytics_dir_bytes_used{datacenter=~"$Datacenter"} and check

waxen flint
#

and i am getting results

vast minnow
#

Yes but with our changes in query, filters will not work as expected as now we have made Volume loaded by default.

waxen flint
#

changing it still shows results

vast minnow
#

Do you mean original query for Volume volume_analytics_dir_bytes_used{datacenter=~"$Datacenter",cluster=~"$Cluster",svm=~"$SVM"} works as well?

waxen flint
#

volume_analytics_dir_bytes_used{datacenter=~"$Datacenter"}
this works

vast minnow
#

okay good

#

let's try volume_analytics_dir_bytes_used{datacenter=~"$Datacenter",cluster=~"$Cluster"} now

waxen flint
#

do i need to remove the regex

vast minnow
#

No

waxen flint
#

ok, that change still shows data

vast minnow
#

okay. Preview still shows value?

waxen flint
#

yes

vast minnow
#

okay let's change to volume_analytics_dir_bytes_used{datacenter=~"$Datacenter",cluster=~"$Cluster",svm=~"$SVM"}

waxen flint
#

that is still showing results as well

vast minnow
#

Good to click on Run Query after making changes

waxen flint
#

yea, and the dashboard shows results as well

vast minnow
#

okay great so We are back to original query then which is working

waxen flint
#

but if i remove the regex it fails

vast minnow
#

regex is needed

#

we need to keep regex

#

Let's save dashboard

waxen flint
#

ok
this is the error it gives

invalid parameter "query": 1:477: parse error: unexpected identifier "peupdopstrnas01" in label matching, expected "," or "}"

vast minnow
#

regex is needed

waxen flint
#

yea, the dashboard is working

vast minnow
#

Okay great! Our changes are same as what we shipped in 23.11. I suspect it was probably some dashboard loading issue

waxen flint
#

strange.. there was no regex in the original dashboard, so maybe that was the big part of it
i'll have to go back through all of the dashboards and test more

vast minnow
#

Actually we moved to query_result query which needs regex. Earlier we were using label_values which doesn't need regex

#

but both should give us same results.

waxen flint
#

aye, deleting the existing one and importing it works