-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from jdno/datadog
Document permissions on Datadog
- Loading branch information
Showing
3 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Datadog | ||
|
||
[Datadog] is a platform for monitoring and observability. It has integrations to | ||
gather metrics from most cloud providers, and offers additional features like | ||
application performance monitoring or a logging backend. | ||
|
||
We use the following features: | ||
|
||
- Host-level metrics using the [Datadog Agent](https://docs.datadoghq.com/agent/) | ||
- Platform-level metrics from AWS and Fastly | ||
- Log pipelines for logs from our CDNs, applications, and servers | ||
|
||
## Explanations | ||
|
||
- [About Permissions](./about-permissions.md) | ||
|
||
[datadog]: https://www.datadoghq.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# About Permissions | ||
|
||
> Permissions define the type of access a user has to a given resource. | ||
> Typically, permissions give a user the right to read, edit, or delete an | ||
> object. | ||
> (_[Source](https://docs.datadoghq.com/account_management/rbac/permissions/)_) | ||
We use [Datadog] to monitor our infrastructure and collect logs in a central | ||
location. This document outlines how permissions work and how we are granting | ||
them to users and teams. | ||
|
||
## Roles and Teams | ||
|
||
Permissions on [Datadog] are always assigned to a _role_. What a user can do on | ||
Datadog is thus determined by the roles they have. | ||
|
||
_Teams_, on the other hand, are mostly used to either filter data or to make it | ||
easier to find certain resources. The list of dashboards, for example, can be | ||
filtered to only show dashboards that are tagged with the user's teams. | ||
|
||
## Permissions for Metrics | ||
|
||
Metrics on [Datadog] can be seen and explored by every user. It is not possible | ||
to limit access to particular metrics, e.g. to grant a team access to only the | ||
metrics from their app. | ||
|
||
### Custom Metrics | ||
|
||
The creation of custom metrics is limited to a few roles, because they are not a | ||
free resource on Datadog. To ensure that we manage our costs responsibly, | ||
creating new custom metrics must be done in collaboration with an administrator | ||
who can monitor the impact that the new metrics have an our monthly billing. | ||
|
||
## Permissions for Dashboards | ||
|
||
Dashboards can be restricted in a few different ways: | ||
|
||
- Access to specific dashboards can be restricted to teams. | ||
- The creation of new dashboards can be limited to certain roles. | ||
- Making dashboards public can be limited to certain roles. | ||
|
||
Dashboards are generally available to all users on [Datadog], only the creation | ||
of new dashboards is disabled for some roles. Sharing a dashboard publicly is | ||
disabled for almost all users, except for administrators and staff of the Rust | ||
Foundation. | ||
|
||
## Permissions for Logs | ||
|
||
We use [Datadog] as a centralized logging platform. Access to logs is restricted | ||
to the teams that need to work with the specific logs. For example, only the | ||
`crates.io` team can see the logs from the Heroku app and the CDNs for | ||
`static.crates.io`. | ||
|
||
## Resources | ||
|
||
- [Datadog's documentation on RBAC](https://docs.datadoghq.com/account_management/rbac/permissions/) | ||
|
||
[datadog]: ./README.md |