You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SPEC.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# Autometrics Specification <!-- omit in toc -->
2
2
3
+
** This spec is deprecated please see the new [versioned specs](./specs). **
4
+
3
5
This is a work in progress specification for Autometrics.
4
6
5
7
It aims to describe the full feature set of the Autometrics libraries, but it may have important details missing. We will attempt to update this document to describe the expectations across all of the language implementations.
Copy file name to clipboardExpand all lines: specs/autometrics_v1.0.0.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -320,7 +320,7 @@ A URL to the user's project git or other scm repository. This SHOULD be a URL
320
320
that makes sense for the repository type. For example, for a git repository, it
321
321
MAY be a HTTP URL or a SSH URL.
322
322
323
-
A library MUST use the value from the `AUTOMETRICS_REPOSITORY_URL` environment
323
+
A library SHOULD use the value from the `AUTOMETRICS_REPOSITORY_URL` environment
324
324
variable, if set. It SHOULD also allow for a value to be specified in the
325
325
initialization function. A library MAY also attempt to determine the repository
326
326
by itself, but the user MUST be able to opt-out of this behavior.
@@ -332,7 +332,7 @@ use this to provider deeper integration. The value MUST be a freeform string to
332
332
allow users to specify their own values.
333
333
334
334
A library MAY try to parse the `repository.url` to determine the provider. It
335
-
MUST allow the user to specify their own value using the
335
+
SHOULD allow the user to specify their own value using the
336
336
`AUTOMETRICS_REPOSITORY_PROVIDER` environment variable. The library MAY use the
337
337
initialization function to override this value as well.
338
338
@@ -345,4 +345,5 @@ initialization function to override this value as well.
345
345
- Add `caller.module` label to `function.calls` metric
346
346
- Rename `caller` label to `caller.function` in `function.calls` metric
347
347
- Add `repository.url` and `repository.provider` labels to `build_info` metric
348
-
- Add guidance on the `objective_name` label, and suggest to warn library users if they use anything other than alphanumeric characters, `_`, `-`, or a space
348
+
- Add guidance on the `objective_name` label, and suggest to warn library users if they use anything other than alphanumeric characters, `_`, `-`, or a space
349
+
- Relax requirements of environment variables from MUST to SHOULD
0 commit comments