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

jira 7: jira_total_attachments_gauge shows 0 as value #56

Open
AwraamFanariotis opened this issue Sep 3, 2019 · 12 comments
Open

jira 7: jira_total_attachments_gauge shows 0 as value #56

AwraamFanariotis opened this issue Sep 3, 2019 · 12 comments
Assignees
Labels

Comments

@AwraamFanariotis
Copy link

AwraamFanariotis commented Sep 3, 2019

Hello everyone,

for jira 7 the total attachment size gauge shows 0 as value
metrics page:

  • HELP jira_total_attachment_size_gauge Total Attachments Size Gauge
  • TYPE jira_total_attachment_size_gauge gauge
    jira_total_attachment_size_gauge 0.0

In the jira logs the following is shown:
2019-09-02 15:07:09,358 pool-67-thread-1 ERROR jira-internal-sysadmin 574x1815x1 1uvdfio 53.18.156.27:24648,127.0.0.1 /rest/plugins/1.0/ [r.a.a.p.promjiraexporter.service.ScheduledMetricEvaluator] Failed to resolve attachments size.
com.microsoft.sqlserver.jdbc.SQLServerException: invalid object name "fileattachment".

Is this metric bugged or is it only availabe in jira 8 exporter? On older versions (1.0.27) this seems to work fine.

Jira is installed on a MS Server. Database is mssql.

BR

@AndreyVMarkelov
Copy link
Owner

Hi @AwraamFanariotis
Please check what value is set here:
https://filebin.ca/4ugetpW760iR/2019-09-120.03.33.png

@AwraamFanariotis
Copy link
Author

Hi @AndreyVMarkelov
The value is set to 1 Minute, just like in your picture.
BR

@AndreyVMarkelov
Copy link
Owner

AndreyVMarkelov commented Sep 16, 2019 via email

@AwraamFanariotis
Copy link
Author

The jira logs show the following error:
2019-09-02 15:07:09,358 pool-67-thread-1 ERROR jira-internal-sysadmin 574x1815x1 1uvdfio 53.18.156.27:24648,127.0.0.1 /rest/plugins/1.0/ [r.a.a.p.promjiraexporter.service.ScheduledMetricEvaluator] Failed to resolve attachments size.
com.microsoft.sqlserver.jdbc.SQLServerException: invalid object name "fileattachment".

BR

@AndreyVMarkelov
Copy link
Owner

AndreyVMarkelov commented Sep 17, 2019 via email

@AwraamFanariotis
Copy link
Author

Hey no Problem :)
Jiraversion 7.13.6

BR

@ricardoecore
Copy link

Hello,
I'm getting same error on Jira Datacenter 7.13.9. How do we fix that?

ERROR [ru.andreymarkelov.atlas.plugins.promjiraexporter.service.ScheduledMetricEvaluator] Failed to resolve attachments size.
++++

@AndreyVMarkelov
Copy link
Owner

AndreyVMarkelov commented Oct 28, 2019 via email

@ricardoecore
Copy link

Hello mssql database? пн, 28 окт. 2019 г. в 21:50, ricardoecore [email protected]:
Hello, I'm getting same error on Jira Datacenter 7.13.9. How do we fix that? ERROR [ru.andreymarkelov.atlas.plugins.promjiraexporter.service.ScheduledMetricEvaluator] Failed to resolve attachments size. ++++ — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#56?email_source=notifications&email_token=AAPXM4AQSWC36SJQDA7UOB3QQ4X7FA5CNFSM4ITD2NO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECN7XSI#issuecomment-547093449>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPXM4GJATWK24RHZVWWZCTQQ4X7FANCNFSM4ITD2NOQ .
-- -- Andrey Markelov

No, it is a Jira DC on Azure, using AzureSQL (PAS - Platform As a Service).

@AndreyVMarkelov
Copy link
Owner

AndreyVMarkelov commented Oct 28, 2019 via email

@saldor100
Copy link

Same error on mssql 2017 with jira dc 8.2.4 here and lastest version of the plugin.

Martin

@vetalka
Copy link

vetalka commented Jun 21, 2020

i have same issue on Jira Software 8.5.3

Vitaly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants