> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/feature-flags/use-feature-flags/use-ff/connect-monitored-service.md).

# Connect Flags to Monitored Services

You may want to monitor your services to be notified when there are issues related to Feature Flag changes. To do this, you can connect a Feature Flag to a monitored service. A monitored service is a combination of a Service and Environment that Harness [Service Reliability Management (SRM)](https://app.gitbook.com/s/HyCfVjb3H456Tq6E4Kp2/README) monitors for changes, events, and health trends. Connecting a Feature Flag to the service lets you analyze how service health is impacted by a feature.

For example, let's say you use SRM to monitor some services and to correlate change events to service health. Now you want to see how a new feature impacts some services. You can put the new feature behind a Feature Flag, and connect that flag to one or more monitored services. You can then use SRM to see the impact on the connected service(s) when you turn the flag on or off.

For more information on monitored services, go to the [SRM documentation](https://app.gitbook.com/s/HyCfVjb3H456Tq6E4Kp2/README).

### Connect a Feature Flag to a monitored service <a href="#connect-a-feature-flag-to-a-monitored-service" id="connect-a-feature-flag-to-a-monitored-service"></a>

To connect a Feature Flag to a monitored service:

1. In your Harness project, go to **Feature Flags > Feature Flags**, and then select the flag you want to connect to a monitored service.

   ![Feature Flags page](/files/1B9MwKsYpRCce2DO7Iny)
2. In the selected flag's settings page, select the edit icon on **Services**.

   ![Feature Flag settings page](/files/BqCMtDAdBGPIGp1XLUAL)
3. Select the monitored service(s) you want to connect, and then **Save**.

### Check the impact of a flag on a monitored service <a href="#check-the-impact-of-a-flag-on-a-monitored-service" id="check-the-impact-of-a-flag-on-a-monitored-service"></a>

Once you connect a flag to a monitored service, whenever you turn the flag on or off, an event is generated for that service. To see the impact of the flag change event, go to **Service Reliability > Monitored Services >&#x20;*****ServiceName*****&#x20;> Service Health**.

Here's an example of the Service Health page for a selected service:

![Service Health page](/files/SoVUgBupgKELEEO58tkM)

For more information on monitored services, go to these topics to:

* [Create a monitored service](/service-reliability-management/use-srm/monitored-services/create-monitored-service.md)
* [Use the **Service Health** dashboard](/service-reliability-management/use-srm/change-impact-analysis/change-impact-analysis-service-health-dashboard.md)
* [Use the **Changes** dashboard](/service-reliability-management/use-srm/change-impact-analysis/change-impact-analysis-changes-dash-board.md)
