Skip to content

This project is an example on how to automatically spot markers on Blackfire timeline from Google Alert RSS Feed and more extra features

Notifications You must be signed in to change notification settings

upsun/blackfire-google-alert-example

Repository files navigation

Caution

This project is owned by the Upsun Advocacy team. It is in early stage of development [experimental] and only intended to be used with caution following with this blogpost.

This project is not supported by Upsun and does not qualify for Support plans. Use this repository at your own risks, it is provided without guarantee or warranty!

[DEMO] Blackfire - How to import Google Alerts into your Blackfire Timeline

Contribute, request a feature, or check out our resources

Join our community       Documentation       Blog       Report a bug       Request a feature

Open issues    Open PRs   


Contents

About       Getting started       Learn       Contribute      


DISCLAIMER:
This is an example of a Symfony codebase to import a Google RSS Feed into your Blackfire Timeline and host this project on Upsun.
This repo is used in this blogpost as a starting point for the users and is not meant to be updated along the way.

About

We have just created a new Symfony application to import Google Alert RSS feed entries on your Blackfire Timeline.
The generated code has been setup for a typical web application project hosted on Upsun.

Features

  • PHP 8.3
  • SQLite database

Getting started

Local development

To deploy this repository to Upsun, please following steps from this blogpost.

Then, the only command you need to use locally is to start your Symfony server and install dependencies using Composer:

symfony server:start [-d]
symfony composer install

Learn

Troubleshooting

Accessing logs

After the environment has finished its deployment, you can investigate issues on startup, deploy and post_deploy hooks, and generally at runtime using the CLI. Run the command:

upsun logs

If you are running the command outside a local copy of the project, you will need to include the -p (project) and/or -e (environment) flags as well. Once you have connected to the container, logs are available within /var/log/ for you to investigate.

Rebuilding cache

You may run into a database error after installing Symfony on your production environment initially. To fix, SSH into the api application container (upsun ssh) and rebuild the cache using Symfony console:

php bin/console cache:clear
php bin/console cache:pool:clear cache.app

Blackfire.io: creating a Continuous Observability Strategy

This template includes a starting .blackfire.yml file that can be used to enable Application Performance Monitoring, Profiling, Builds and Performance Testing on your project. Upsun comes with Blackfire pre-installed on application containers, and setting up requires minimal configuration.

Resources

Contact

This template is maintained by the Upsun Developer Relations team, and they will be notified of all issues and pull requests you open here.

  • Discord: If you haven't done so already, you can join Upsun's community on Discord channels and ping the @devrel_team with any questions.

About Upsun

This template has been specifically designed to deploy on Upsun.

What is Upsun?

Upsun is a unified, secure, enterprise-grade platform for building, running and scaling web applications. We’re the leader in Fleet Ops: Everything you need to manage your fleet of websites and apps is available from the start. Because infrastructure and workflows are handled from the start, apps just work, so teams can focus on what really matters: making faster changes, collaborating confidently, and scaling responsibly. Whether managing a fleet of ten or ten thousand sites and apps, Upsun is the Developer- preferred solution that scales right.

Our key features include:

Contribute

Help us keep top-notch templates!

Every one of our templates is open source, and they're important resources for users trying to deploy to Upsun for the first time or better understand the platform. They act as getting started guides, but also contain a number of helpful tips and best practices when working with certain languages and frameworks.

See something that's wrong with this template that needs to be fixed? Something in the documentation unclear or missing? Let us know!

How to contribute

Report a bug       Submit a feature request       Open a pull request      


Need help?

Join us on Discord


Thanks to all of our amazing contributors!


Made with contrib.rocks


About

This project is an example on how to automatically spot markers on Blackfire timeline from Google Alert RSS Feed and more extra features

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages