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

track total content length and files indexed #3318

Merged
merged 41 commits into from
Feb 6, 2024
Merged

Conversation

esmadau
Copy link
Contributor

@esmadau esmadau commented Jan 22, 2024

Description

  • add index on content length to prep for use with getting totals
  • added cron function to get total sum of content length and total files indexed

Here's an example of the run logs

[2024-01-26T00:05:00.022Z] Executing 'IndexMetricsCollectionFunction' (Reason='Timer fired at 2024-01-25T16:05:00.0095051-08:00', Id=a307874e-8d4d-4d23-95af-8b8bc2f8a9ef)
[2024-01-26T00:05:00.026Z] Collecting a daily summation starting. At: 01/26/2024 00:05:00 +00:00
[2024-01-26T00:05:00.031Z] Collecting a daily summation time taken: 3 ms with ExternalStoreEnabled: True and DataPartitionsEnabled: False
[2024-01-26T00:05:00.032Z] DICOM telemetry - total files indexed: 0 with ExternalStoreEnabled: True and DataPartitionsEnabled: False
[2024-01-26T00:05:00.033Z] DICOM telemetry - total content length indexed: 0 with ExternalStoreEnabled: True and DataPartitionsEnabled: False
[2024-01-26T00:05:00.034Z] Collecting a daily summation completed. with ExternalStoreEnabled: True and DataPartitionsEnabled: False
[2024-01-26T00:05:00.035Z] Executed 'IndexMetricsCollectionFunction' (Succeeded, Id=a307874e-8d4d-4d23-95af-8b8bc2f8a9ef, Duration=25ms)

Related issues

Addresses [AB#105725].

Testing

tested manually, see design doc for execution plans and runtime

@esmadau esmadau marked this pull request as ready for review January 22, 2024 17:47
@esmadau esmadau requested a review from a team as a code owner January 22, 2024 17:47
@esmadau esmadau changed the title add index on content length to prep for use with getting totals track total content length and files indexed Jan 25, 2024
@esmadau esmadau enabled auto-merge (squash) February 3, 2024 01:01
@esmadau esmadau merged commit 1310460 into main Feb 6, 2024
13 of 15 checks passed
@esmadau esmadau deleted the users/esmadau/clindex branch February 6, 2024 19:39
esmadau added a commit that referenced this pull request Feb 6, 2024
esmadau added a commit that referenced this pull request Feb 6, 2024
esmadau added a commit that referenced this pull request Feb 7, 2024
esmadau added a commit that referenced this pull request Feb 8, 2024
#3349)

* Reapply "track total content length and files indexed (#3318)" (#3346)

This reverts commit 8a0247d.

* add FunctionsPreservedDependencies so openTelemetry can be used / DiagnosticSource loaded as needed by functions host
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

Successfully merging this pull request may close these issues.

4 participants