Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/alerting-and-irm/irm/on-call-schedules/import-schedules.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/alerting-and-irm/irm/on-call-schedules/import-schedules/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Import schedules
You can import on-call schedules into Grafana IRM using iCal format for flexible schedule management.
Imported schedules are read-only but remain fully functional, allowing you to manage schedules in your calendar application.
Before you begin
To import an iCal schedule, ensure you have the necessary permissions in Grafana IRM and your calendar application.
Required permissions
In Grafana IRM:
- Schedule Editor role (or higher) to create and manage schedules
- Oncaller role for team members to be added to rotations
In your calendar application:
- Full edit access to the primary calendar
- Permission to create and share calendars
- Ability to modify calendar sharing settings
Calendar requirements
For Grafana IRM to access your calendar and on-call events, ensure the calendar:
- Supports iCal format
- Is set to Make available to public
- Has See all event details enabled
Set up your calendar
Create a dedicated calendar to manage your on-call coverage using calendar events.
Create the primary calendar
- Create a new calendar in your calendar application
- Configure sharing settings:
- Set visibility to Make available to public
- Enable See all event details
- Get the secret iCal URL:
- For Google Calendar:
- Go to Settings
- Select Settings for my calendars
- Choose Integrate calendar
- Copy the Secret address in iCal format
- For Google Calendar:
Create on-call events
Create events to represent on-call shifts. Each event represents one shift.
Follow these guidelines when creating events:
- Use your Grafana username as the event title
- Set accurate start and end times
- Use recurrence settings for repeating shifts
Event format examples
Basic shift:
Title: JohnDoe
Start: 9:00 AM
End: 5:00 PMRecurring shift:
Title: JaneSmith
Start: 9:00 AM
End: 5:00 PM
Recurrence: Every MondayMultiple assignees:
Title: JohnDoe, JaneSmith
Start: 9:00 AM
End: 5:00 PMPriority level shift:
Title: [L1] JohnDoe
Start: 9:00 AM
End: 5:00 PMNote
Use recurrence and event duplication to reduce manual event creation.
Import to Grafana IRM
- In Grafana IRM, navigate to Schedules
- Click + New schedule
- Select Import schedule from iCal URL
- Click + Create
- Configure the following:
- Paste your secret iCal URL in the Primary schedule iCal URL field
- Add override calendar URL (optional)
- Enter schedule name
- Review settings
- Click Create Schedule
Configure an override calendar (optional)
An override calendar lets you make temporary schedule changes without editing the primary calendar. Override events take precedence over conflicting primary events.
Set up an override calendar
- Create a new calendar in your calendar service
- Configure sharing settings:
- Set to Make available to public
- Enable See all event details
- Get the secret iCal URL
- In Grafana IRM:
- Navigate to Schedules
- Select your primary calendar
- Click Edit
- Add the override calendar’s iCal URL
- Click Update
Override examples
Temporary replacement:
Title: JohnDoe
Date: Monday, May 1
Time: 9:00 AM - 5:00 PM
Override calendar:
Title: JaneSmith
Date: Monday, May 1
Time: 9:00 AM - 5:00 PMSplit shift override:
Primary calendar:
Title: JohnDoe
Date: Monday, May 1
Time: 9:00 AM - 5:00 PM
Override calendar:
Title: JaneSmith
Date: Monday, May 1
Time: 9:00 AM - 1:00 PM
Title: BobGrafana
Date: Monday, May 1
Time: 1:00 PM - 5:00 PMManage overlapping shifts
To control priority in overlapping shifts, use level markers in event titles.
- Format: [L0] to [L9], where higher numbers take priority
- Example:
- [L1] BobGrafana — primary on-call (receives notifications)
- [L0] AliceGrafana — secondary on-call (notifications suppressed)
If no level markers are specified, all overlapping users receive notifications.
Troubleshooting
Warning
Known limitation with Google Calendar
Google Calendar synchronization can take up to 24 hours to complete. If real-time calendar accuracy is critical, consider using web-based on-call schedules instead.
Common issues and solutions:
Users not appearing in schedule:
- Verify event titles match Grafana usernames. IRM matches on-call assignments by reading the event’s Summary (title) or Description field and comparing it to the user’s Grafana username. If the name doesn’t match exactly, the user won’t appear.
- Check calendar sharing settings
- Ensure event details are publicly visible
Schedule not updating:
- Allow up to 24 hours for Google Calendar sync
- Verify iCal URL is correct and accessible
- Check calendar permissions
Override not working:
- Verify override calendar sharing settings
- Check override calendar iCal URL
- Ensure override event times exactly match the corresponding primary calendar events
- Check whether Enable web interface overrides is enabled. If this toggle is on, the Overrides schedule iCal URL field is ignored entirely in favor of overrides added manually through the UI. To use a Google Calendar override URL, disable this toggle and paste the iCal URL in the overrides field. Disabling this option removes any overrides previously added through the web UI.
Was this page helpful?
Related resources from Grafana Labs


