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

fix(frontend): fix container in OTel settings page #2933

Merged
merged 1 commit into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Form} from 'antd';
import {Col, Form, Row} from 'antd';
import {CollectorConfigMap} from 'constants/CollectorConfig.constants';
import {TCollectorDataStores, TDraftDataStore} from 'types/DataStore.types';
import {FramedCodeBlock} from 'components/CodeBlock';
Expand All @@ -20,9 +20,15 @@ const Configuration = () => {
own OpenTelemetry Collector config and apply it.
</S.Description>
</S.SubtitleContainer>
<S.CodeContainer data-cy="file-viewer-code-container">
<FramedCodeBlock value={example} language="yaml" title="Collector Configuration" />
</S.CodeContainer>

<Row>
<Col span={16}>
<S.CodeContainer data-cy="file-viewer-code-container">
<FramedCodeBlock value={example} language="yaml" title="Collector Configuration" />
</S.CodeContainer>
</Col>
</Row>

<DataStoreDocsBanner dataStoreType={dataStoreType} />
</>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ const OpenTelemetryCollector = () => {
return (
<>
<Row gutter={[16, 16]}>
<Col span={16}>
<Col span={24}>
<Ingestor />
</Col>
</Row>
<Row gutter={[16, 16]}>
<Col span={16}>
<Col span={24}>
<Configuration />
</Col>
</Row>
Expand Down