Facundo Miño
09/20/2024, 1:06 PMEdgar Ramírez (Arch.dev)
09/20/2024, 7:29 PMFacundo Miño
09/20/2024, 7:54 PMFacundo Miño
09/20/2024, 8:22 PMEdgar Ramírez (Arch.dev)
09/20/2024, 9:36 PMHmmm you’re using the Github Actions to schedule the jobs, i was following the documentation and trying to do it using the orchestrator airflow.Yeah, I use GHA in my dogfood project and it's enough for my needs but for teams or orgs that need to orchestrate a lot of things in a more complex manner, something like Airflow is probably better.
Do you know if there a way to achieve the same of you using it or maybe execute a custom script that make the call ? Which approach do you recommend?If you'd still like using Airflow, it's be fairly well supported pattern: https://airflow.apache.org/docs/apache-airflow/stable/howto/notifications.html
if for some reason in the flow something fails, is there a way to catch the error and forward it through a slack message or make an api call to notify?Not at the moment. Another member of the community opened https://github.com/meltano/meltano/issues/8708, but we currently don't have a clear path to get there. But do give the issue 👍 if you'd like what it describes, or comment with your own ideas and thoughts!
aaron_phethean
09/24/2024, 6:32 PMStéphane Burwash
11/01/2024, 6:49 PMEdgar Ramírez (Arch.dev)
11/04/2024, 10:14 PMStéphane Burwash
11/10/2024, 9:47 PMStéphane Burwash
03/06/2025, 7:37 PMsource: |
event, err = parse_regex(.line.event, r'METRIC: (?P<json>\{.*\})', numeric_groups: false)
if (event !=null && exists(event.json)) {
json_str = to_string(event.json)
parsed_json, err = parse_json(json_str)
if (parsed_json != null) {
.line.metric = parsed_json
}
}
TADAAAAAAH, I got me some meltano json logs!Stéphane Burwash
03/06/2025, 7:37 PMStéphane Burwash
03/06/2025, 7:37 PM