Skip to content
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

Gnmic prom #54

Merged
merged 9 commits into from
Oct 17, 2024
Merged

Gnmic prom #54

merged 9 commits into from
Oct 17, 2024

Conversation

noredistribution
Copy link
Contributor

Change Summary

Adding OpenConfig telemetry lab that will be leveraged on the openmgmt website

Related Issue(s)

fixes #

Repository Checklist

  • My code has been rebased from the upstream main branch

@@ -0,0 +1,26 @@
{
// "image": "ghcr.io/${localEnv:GITHUB_REPOSITORY}/lab-base:python3.11-avd-v4.10.2-clab0.57.5-rev9",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the commented line pointing to rev9
I know, it comes from other lab where it was not cleaned as well after experimenting, but there will one less to clean after removal

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this image is a bit weird as links do not end on the switches. Would be great to update if possible, but not critical.
Also light version is preferred for images as it's easier to match both light and dark background with { .opacity09 }. For example: ![contact github support](assets/img/aclabs-telemetrylab-A.png){ .opacity09 }
This is not yet enforced on acLabs, just a nice to have.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest to refer to the acLabs quickstart guide here to avoid maintaining duplicate content.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be part of the acLabs quickstart as well. However it's not yet covered there. So we have 2 options:

  1. remove it from telemetry docs and add to quickstart (now or later)
  2. keep it in the telemetry docs, and move later in a dedicated PR

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

import_role:
name: arista.avd.eos_cli_config_gen

- name: Deploy generated configuration to devices
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to have separate playbooks for various steps, like here. Called by make shortcuts.
Certainly it's fine to have combined build and deploy on top.


!!! Success "Container Requirements"

CPUs: 8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

must be on a separate line each - add double space at the end or similar

- Only x86 CPU architecture is supported!
- ARM support coming soon!

### How To Run The Workshop
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shorten this section and refer to the Quickstart guide

- download one of the prepackage AVD+Python+Containerlab containers from [aclabs packages](https://github.com/aristanetworks/aclabs/pkgs/container/aclabs%2Flab-base)
- when running the lab locally, you must set all required environment variables on your machine

### Run it in Codespaces
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Combine this with the previous section, refer to the Quickstart and only leave what is relevant for this specific lab, like the screenshot with the 3001 port.

ansible-playbook playbooks/fabric-deploy-config.yaml -i inventory.yaml
```

### How To Run The Lab on Your Machine
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can keen everything below this header for now. But definitely this has to be moved out of the lab guide over time. Somewhere to Home section.


### Run it in Codespaces

[Start :octicons-play-16: gNMIc-Prometheus-Grafana Lab :octicons-mark-github-24:](https://codespaces.new/noredistribution/aclabs/tree/main?quickstart=1&devcontainer_path=.devcontainer%2Fgnmic-prometheus-grafana%2Fdevcontainer.json){ .md-button .md-button--primary target=_blank}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to update before merging! This kind of things will be addressed with templating later.

Copy link
Contributor

@ankudinov ankudinov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging PR to enable the lab. We'll add all optimizations and fixes required in a separate PR.

@ankudinov ankudinov merged commit 5ad02b8 into aristanetworks:main Oct 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants