Commit Graph
12 Commits
Author SHA1 Message Date
Hengfei Yang 0f864aab47 feat: add keepalive for scheduler_jobs (#6554) 2025-04-16 19:29:25 +08:00
Hengfei Yang 595490ea33 ci: update rust to nightly-2025-03-02 (#6145) 2025-03-02 17:27:10 +08:00
Subhra264 1c90cee1fa fix: report pdf must have .pdf extension (#5105)
Ref: https://github.com/openobserve/o2_report_server/issues/10.

This PR adds ".pdf" extension to the report pdf attached to smtp email
message.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced email attachment functionality by ensuring PDF files are
correctly named with a `.pdf` extension for better recognition by email
clients.
- Improved email body structure by adding the report message before the
dashboard link.

- **Bug Fixes**
- Improved error handling and logging for the email sending process,
providing clearer messages and more context during execution.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-20 14:08:09 +05:30
Hengfei Yang df0a4a79ae feat: refactor merge file on compactor (#4971) 2024-11-07 17:30:10 +08:00
Juan Calderon-Perez bccf35b998 fix: Do not prefix email subjects (#4997) 2024-11-06 15:49:40 +08:00
499f2bfbc7 feat: SearchEventContext for search usage reports (#4934)
impl #4914 

new parameters acceptable for search queries to add additional context
in usage report:
**Dashboard**
`dashboard_id` 
`dashboard_name` 
`dashboard_folder`
`dashboard_folder_id`
`dashboard_folder_name`

**Report**
`report_key`

**Alert**
`alert_key`

Co-authored-by: Sai Nikhil <nikhil@openobserve.ai>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2024-10-31 05:16:00 -07:00
Loakesh Indiran f69593ba26 feat: short url service (#4697) 2024-10-07 20:03:37 +08:00
John Vandenberg d0079bb9bf docs: Fix typos (#4492) 2024-09-22 17:57:47 +08:00
Subhra264 69ae2c41b9 fix: use browser.wait() after browser.close() (#4515)
- After calling `browser.close()`, `browser.wait()` needs to be called
to avoid various zombie processes and close the browser properly.
- In triggers usage report, this uses `cached_report` as module type for
destination-less reports.
- For list reports api, filter reports based on dashboard id.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **New Features**
- Introduced a new `CachedReport` variant to enhance report handling
capabilities.

- **Improvements**
- Enhanced error handling and control flow in report generation to
ensure browser operations complete before closure.
- Improved logic for differentiating between cached and standard report
triggers based on destination presence.

These updates aim to increase the reliability and functionality of
report generation within the application.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-11 11:10:56 +05:30
Subhra264 78405845f2 feat: destination-less report (#4325)
Destination less report for caching purpose.
- [x] Empty destination array is supported for caching purpose. If
destinations array is empty it only spawns a chromium and loads the
dashboard, does not capture pdf.
- [x] For Cache type reports, it uses ui search type so that the
dashboard queries land on only the interactive node and not in the
background node.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a new filtering system for reports, allowing users to
specify criteria such as dashboard and folder.
- Added support for two report types: PDF and Cache, enhancing report
generation options.
- Enhanced report generation functionality to include dynamic handling
based on report type and recipient count.

- **Bug Fixes**
	- Improved error handling and logging for report generation processes.

- **Documentation**
- Updated documentation to reflect new parameters and functionalities in
report handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-10 12:03:35 +05:30
Subhra264 59ed7ceca6 fix: add searchtype params to dashboard url for reports (#3670)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced report URLs with a `searchtype=reports` parameter for better
categorization and filtering of reports.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-05 17:37:11 +05:30
Ankur SrivastavaandHengfei Yang 8f3df9e7a1 feat: support reloading config vars using an API (#3623)
The new endpoint `/config/reload` will refresh the
environment variables.

There are a bunch of env-vars which will not be reloaded
for e.g. HTTP_PORT etc. these will need a restart.

---------

Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2024-05-30 08:23:27 +08:00