Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

odd behavior when auto refresh interval #297

Open
sdvidal opened this issue Sep 20, 2024 · 8 comments
Open

odd behavior when auto refresh interval #297

sdvidal opened this issue Sep 20, 2024 · 8 comments

Comments

@sdvidal
Copy link

sdvidal commented Sep 20, 2024

Hi,
I have some panels for a goldengate deployment and at every refreshing cycle, most of the time I do not have all replicat processes displayed.
It looks like OCI plugin does send all data for a moment. Is this a expected behavior ?
thank you!

@sdvidal
Copy link
Author

sdvidal commented Sep 20, 2024

an example:
oci-metric-example

@mamorett
Copy link
Member

Hi. Can you show one of those panel in edit mode ?

@sdvidal
Copy link
Author

sdvidal commented Sep 20, 2024

Hi Moretti,
sure, here is it :
data:
image

filter (otherwise deployment name is displayed as well) :
image

regards,

@mamorett
Copy link
Member

Hi. Did you try with different intervals ? Another thing I would try is to disable the LEGEND FORMAT. Sometimes gives weird output in combination with Transform Data

@sdvidal
Copy link
Author

sdvidal commented Sep 20, 2024

Hi,
well, auto or manual refresh shows same behavior. No change if disabling LEGEND FORMAT.
This is a grafana version 11 , I will try a test with grafana 10.
regards,

@mamorett
Copy link
Member

you may also want to upgrade the plugin. We released 6.0 few days ago, to see if that help. Honestly I could not reproduce same issue in my lab.

@sdvidal
Copy link
Author

sdvidal commented Sep 20, 2024

Oh, ok, I was not aware...I will let you know.

@sdvidal
Copy link
Author

sdvidal commented Sep 20, 2024

Hi,
nothing yet ...I have tried grafana 10 and plugin versions since 5.5.
Now I will try OSS version (so far is grafana enterprise).
I have noticed those messages at log :

logger=plugin.oci-metrics-datasource t=2024-09-20T10:06:23.66542007-03:00 level=error msg=generateCustomMetricLabel NoResourceID="No valid resourceID aggregator found: ocid1.goldengatedeployment...."
logger=plugin.oci-metrics-datasource t=2024-09-20T10:06:23.665569364-03:00 level=error msg="No valid resourceID found in dimensions" metricDataValue.name=
logger=plugin.oci-metrics-datasource t=2024-09-20T10:06:23.665701134-03:00 level=error msg=client GetDimensionsLabels="fetching the dimension under compartment 'ocid1.compartment.oc1.....' for namespace 'oci_goldengate' and metric 'ReplicatLag' to be used as labels"
logger=plugin.oci-metrics-datasource t=2024-09-20T10:06:23.665823114-03:00 level=warn msg=client GetDimensions="getting the data from cache"
logger=plugin.oci-metrics-datasource t=2024-09-20T10:06:23.665992215-03:00 level=error msg=generateCustomMetricLabel NoResourceID="No valid resourceID aggregator found: RNS1"
logger=plugin.oci-metrics-datasource t=2024-09-20T10:06:23.666141417-03:00 level=error msg="No valid resourceID found in dimensions" metricDataValue.name=

I am trying to understand why those "no valid resourceID" messages.
regards,

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

No branches or pull requests

2 participants