-
Notifications
You must be signed in to change notification settings - Fork 893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add environment attribute: Deployment Environment #606
add environment attribute: Deployment Environment #606
Conversation
|
||
| Attribute | Description | Example | Required? | | ||
|---|---|---|---| | ||
| environment | Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) | `staging` , `production` | Yes | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a less overloaded term for this might be "stage". Environment already means too many things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stage
sounds good! Environment could really be anything from the OS, cloud provider to the env variables and much more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about just deployment_environment
? You might also have different production environments like "free", "vip", so I'd say using environments for staged deployments is just one use case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or, if my understanding of the term is wrong, the linked Wikipedia entry suggests the synonym tier
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The term tier
is already preoccupied by multi-tier architectures ([frontend]<->[application/businesslogic]<->[database]
) but I agree that we should consider the possibility of multiple deployments in the same stage of maturity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deployment_environment sounds good to me. I agree that stage is just one use case for multi-environment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about a deployment category with deployment.environment?
I am also looking to add something like deployment.datacenter or hosting.datacenter
For those of us not on a cloud deployment, calling my datacenter cloud.region is slightly abusive
I don't think it's beneficial to force users to map their internal names to a rigid set of pre-defined values as this would just confuse those looking at the monitoring system, so allowing arbitrary strings should indeed be just fine here. |
Sorry, I meant no type as in |
Ah now I get you :-) |
Might I suggest.... |
The CLA not does not want to trigger the check can you reopen this PR? |
156b14e
to
b4e327c
Compare
EasyCLA is successful now. |
I think this can be merged @open-telemetry/technical-committee EDIT: Sorry, I see all approvals are only from Dynatrace so not ready to merge after all. @tigrannajaryan if you are OK with this PR now, you could approve. |
Looks good to go! Let's wait 1 day and LGTM. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merge "Deployment Service / Kubernetes" section into "Environment" section for consistency Create deployment_environment.md for new deployment.environment attribute Signed-off-by: CI-Bot for Emmanuel Courreges <[email protected]>
aced2cc
to
09eb79a
Compare
|
||
- [Operating System](./os.md) | ||
- [Cloud](./cloud.md) | ||
- Deployment: | ||
- [Environment](./deployment_environment.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Environment/ProductionEnvironment?
Or maybe "Environment Stage"?
"Environment" is a bit too generic I feel like.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please address the feedback here (either way) @ecourreges-orange ;)
@ecourreges-orange Sorry for the delayed feedback - once you address a latest detail regarding the (too generic) usage of "Envirionment", we are totally ready to merge. |
@ecourreges-orange ping :) |
Merging, will follow up with @bogdandrutu's suggestion. |
@carlosalberto Thanks! Please also add the new attribute to the changelog while you're at it. |
Add a constant for the recently introduced deployment environment resource attribute: open-telemetry/opentelemetry-specification#606
…metry#606) Merge "Deployment Service / Kubernetes" section into "Environment" section for consistency Create deployment_environment.md for new deployment.environment attribute Signed-off-by: CI-Bot for Emmanuel Courreges <[email protected]>
Following @arminru 's advice:
I can't find the Deployement Environment concept in resource semantic conventions so I added it.
I called the attribute
environment
without any type.We might have a bit of a naming conflict for the sections "Deployment Service" and "Environment -> Deployment Environment"
Thanks for your comments.
Fixes #593